Open elfring opened 11 years ago
Since yaccpp
is a program and not a library, I'm a little reluctant to add namespaces. The global namespace is the program namespace. Can you explain what you mean by line 3 of lexer.h and line 3 of parser.h?
Would you like to place any components into a software library which will be reused by your program (and eventually others in the future)?
Perhaps, yes, but right now there isn't much code in this project that might be reused. If it can be, I'll certainly think about splitting it out into a library.
I suggest to add at least one namespace to the source files of your class library.
Examples:
Would you like to reduce the probability for name clashes?