char* infile; /* input file name */
int numbval; /* value of an input number */
-char tokname[NAMESIZE+4]; /* input token name, slop for runes and 0 */
+char tokname[NAMESIZE+UTFmax+1]; /* input token name, slop for runes and 0 */
/* structure declarations */
Bprint(ftable, "%4d\n};\n", 0);
/* copy parser text */
+ Bprint(ftable, "\n#line\t1\t\"%s\"\n", parser);
while((c=Bgetrune(finput)) != Beof) {
if(c == '$') {
if((c = Bgetrune(finput)) != 'A')
c = Bgetrune(finput);
if(c == '\n')
lineno++;
- } else
+ } else {
if(c == match)
goto lcopy;
if(c == '\n')
error("newline in string or char. const.");
+ }
Bputrune(faction, c);
}
error("EOF in string or character constant");