mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
style: clean up the scanner and parser
* src/scan-gram.l: Formatting changes. Add "missing" assertion for symmetry. * src/parse-gram.y: Formatting changes.
This commit is contained in:
@@ -591,6 +591,7 @@ eqopt ([[:space:]]*=)?
|
||||
<SC_ESCAPED_STRING,SC_ESCAPED_CHARACTER>
|
||||
{
|
||||
\\[0-7]{1,3} {
|
||||
verify (UCHAR_MAX < ULONG_MAX);
|
||||
unsigned long c = strtoul (yytext + 1, NULL, 8);
|
||||
if (!c || UCHAR_MAX < c)
|
||||
complain (loc, complaint, _("invalid number after \\-escape: %s"),
|
||||
|
||||
Reference in New Issue
Block a user