* 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:
Akim Demaille
2002-06-11 21:46:16 +00:00
parent 4cdb01db9b
commit 1d6412adeb
5 changed files with 160 additions and 145 deletions

View File

@@ -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 */