Worked around unput() not being strictly legal in the tail code section of a yacc input file.
This commit is contained in:
parent
3620781344
commit
c8f1fe9511
@ -94,6 +94,11 @@ yywrap() {
|
|||||||
return(1);
|
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; {
|
skipupto(tok,str) char *str; {
|
||||||
register i;
|
register i;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user