[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: And more lineno problems
From: |
John |
Subject: |
Re: And more lineno problems |
Date: |
Fri, 25 Apr 2003 15:32:17 -0400 (EDT) |
> For some reason yyget_lineno does not return a proper value for lineno
> just before printing the token yylineno variable in FLEX reports value 1
> calling yyget_lineno from the bison parser returns 0 !?!?
yyget_lineno() is a red herring in this case. The differences in
lineno values are probably caused by the REJECT or trailing context
that you bugs reported earlier -- not by yyget_lineno().