compiler construction - the positioning mechanism in bisonc++ YYLTYPE is always returning 0 -
while parsing source file using grammar bisonc++, want line number of token. i've enabled %lsp-needed
. when i'm accessing line number using @1.first_line
, @1.last_line
, both printing 0 though tokens not 0th line.
Comments
Post a Comment