shevek / jcpp

The C Preprocessor as a Java library
http://www.anarres.org/projects/jcpp/
Apache License 2.0
106 stars 36 forks source link

Column numbers seem to be wrong #2

Closed hanikesn closed 11 years ago

hanikesn commented 11 years ago

The Input Stream:

aaa,,

Parses as:

Returning fresh token [IDENTIFIER@1,0]:"aaa"
pp: Returning [IDENTIFIER@1,0]:"aaa"
Returning fresh token [,@1,3]:","
pp: Returning [,@1,3]:","
Returning fresh token [,@1,3]:","
pp: Returning [,@1,3]:","
pp: Returning [EOF]:<265>

The column information of the seconds comma should be 4.

The JCPP version is 1.2.6

hanikesn commented 11 years ago

Works well with HEAD.