rui314 / chibicc

A small C compiler
MIT License
9.72k stars 886 forks source link

First Tokenizing Pass Wastefully Avoids Token Line Numbering Duty #75

Open Kerdek opened 3 years ago

Kerdek commented 3 years ago

Line number information is consequently difficult to determine when debugging before the second pass.

rui314 commented 3 years ago

I don't think this is a bug but a design choice. Did you have a better idea?