mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/scan-gram.l (YY_OBS_INIT): Remove, replace with...
[SC_COMMENT,SC_STRING,SC_CHARACTER,SC_BRACED_CODE,SC_PROLOGUE] [SC_EPILOGUE]: Output the quadrigraphs only when not in a comment. * src/reader.h, src/scan-gram.l (scanner_initialize): this. * src/reader.c (reader): Use it.
This commit is contained in:
@@ -481,6 +481,7 @@ reader (void)
|
||||
|
||||
gram_debug = !!getenv ("parse");
|
||||
gram__flex_debug = !!getenv ("scan");
|
||||
scanner_initialize ();
|
||||
gram_parse (&gram_control);
|
||||
|
||||
/* Grammar has been read. Do some checking */
|
||||
|
||||
Reference in New Issue
Block a user