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

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

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

php - Cloud9 cloud IDE and CakePHP -