Re: [9fans] How to generate a "debuggable" lex.yy.c?

2021-11-11 Thread gomfy via 9fans
Perfect, this worked. Thank you! -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tdade85f2048629bd-M7226e26d3cd8c13c50ce0dd9 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] How to generate a "debuggable" lex.yy.c?

2021-11-11 Thread Charles Forsyth
Perhaps add a copy of allprint, without the character counting, to replace the existing extern declaration in your ncform, still #ifdef'd with LEXDEBUG. The signature of allprint should also be static void allprint(Uchar) and the exotic initial lines of sub1.c's allprint can be removed. It needs a

[9fans] How to generate a "debuggable" lex.yy.c?

2021-11-10 Thread gomfy via 9fans
Hello,      I would like to generate a lexer with debug functionality. I'm relying on a slightly modified versions of the sources: