Worked around unput() not being strictly legal in the tail code section of a yacc input file.
This commit is contained in:
parent
cd09c29949
commit
9ca41cf4b6
|
@ -94,6 +94,11 @@ yywrap() {
|
|||
return(1);
|
||||
}
|
||||
|
||||
/* unput isn't technically legal in this section, so we need the
|
||||
* following definition to make it work. */
|
||||
|
||||
#define yytext_ptr yytext
|
||||
|
||||
skipupto(tok,str) char *str; {
|
||||
register i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue