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

Popular posts from this blog

angularjs - Showing an empty as first option in select tag -

qt - Change color of QGraphicsView rubber band -

c++ - Visible files in the "Projects" View of the Qt Creator IDE if using the CMake build system -