SourceForge has been redesigned. Learn more.
Close

#177 Constant redeclerations

open
nobody
None
1
2013-05-27
2013-05-27
Zemantics
No

If my project has multiple lexers and the tokens has the same name I get a redefinition, could this be done in a way where the tokens can have the same name in different lexers? My lexers do have different names, classes, and namespaces.

Error   18  error C2370: 'QUEX_TKN_UNINITIALIZED' : redefinition; different storage class (QueryProcessorExceptions.cpp)    c:\dev\sparqldbms2\server\queryprocessor\lexers\turtle\quex_turtle_turtlelexer-token_ids    54  1   QueryProcessor

Discussion

  • Frank-Rene Schäfer

    I guess, you should consider absorbing the token class definition
    of one lexer as a --foreign-token-id-file, --token-class-file
    of the other.

     
  • Zemantics

    Zemantics - 2013-05-27

    Please disregard this feature request. Once I manually deleted all object files generated by VC++ and rebuildt everything the problem was gone.

     

Log in to post a comment.