Menu

#17 Token position information in macro parameters is incorrect

open
5
2012-08-29
2010-12-14
Tom Harwood
No

Macro substitution spawns a sublexer, which does know the correct file name, but doesn't know the correct line/column number for its generated tokens. This position information needs to be given to the lexer and communicated to ANTLR in some fashion.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB