You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for brothering you. As the title, I declared a token by %token XXX, then I defined it's type ‘t’ by %type<t> XXX. After that a warning 'Token declared but never used.' above the XXX appears. I think the plugin recognizes %type as a non-terminal definition. That syntax is allowed by bison (even in YACC I guess) and can be used.
thanks a lot.
The text was updated successfully, but these errors were encountered:
Hello,
Sorry for brothering you. As the title, I declared a token by %token XXX, then I defined it's type ‘t’ by %type<t> XXX. After that a warning 'Token declared but never used.' above the XXX appears. I think the plugin recognizes %type as a non-terminal definition. That syntax is allowed by bison (even in YACC I guess) and can be used.
thanks a lot.
The text was updated successfully, but these errors were encountered: