How can I make PCCTS track the number of the tokens columns?
A:
It seems that this may be one of the reasons that ANTLR was developed as an improvement over PCCTS:
http://sds.sourceforge.net/src/antlr/doc/lexer.html#trackingcolumn
However if you read the PCCTS pdf book you can see that there is an method for tracking columns. Using the C api you can define the preprocessor symbol ZZCOL
John Weldon
2010-05-07 03:31:36
But ANTLR uses Java, and I need C++. Could you elaborate more on ZZCOL?
Yassin
2010-05-07 07:39:39
If you read the PCCTS pdf that I linked to you can find the info about ZZCOL
John Weldon
2010-05-07 12:58:44