On Sonntag, 6. Dezember 2015 17:41:07 CEST, Nicolás Alvarez wrote:
Then we ignore warnings about // comments and pay attention to others
Wtf does flex/yacc produce incompliant comments? Seriously, COMMENTS! That's a convenience thing. int foo = bar; // bar defined in wherever is simpler than int foo = bar; /* bar defined in wherever */ but a code generator isn't lazy. There must be a way to avoid that? Otherwise one might convince them to create cpp/cxx suffixes so that compilers will invoke the C++ compiler? Cheers, Thomas