4

I'm having trouble making a dynamic boost spirit lexer that tracks the column number. Is this possible? Can anyone provide a simple example?

Thanks!

robert
  • 33,242
  • 8
  • 53
  • 74
Brian
  • 313
  • 2
  • 12

2 Answers2

0

http://boost-spirit.com/home/articles/qi-example/tracking-the-input-position-while-parsing/

The code they reference throughout the article is posted at the end.

Mike K.
  • 33
  • 1
  • 2