Update the buffer start to be relative to the index regardless, otherwise token pointer never advances.

#1 Merged
Repository
dhobsd
Branch
JLexPHP
Repository
wez
Branch
JLexPHP
Author
  1. Devon O'Dell
Reviewers
Description

yy_mark_start is called from the generated tokenizer to update the position in the buffer. If we only change this when line / character counting is enabled, the returned tokens never have the proper value except for the first fetched token.

Comments (0)