mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +02:00
Start line/col numbering from 1 (heresy!!)
This commit is contained in:
parent
caecc28994
commit
bf896f6b74
1 changed files with 4 additions and 4 deletions
|
@ -801,8 +801,8 @@ typedef struct {
|
||||||
p.fp = f; \
|
p.fp = f; \
|
||||||
p.mode = m; \
|
p.mode = m; \
|
||||||
p.flags = 0; \
|
p.flags = 0; \
|
||||||
p.line_num = 0; \
|
p.line_num = 1; \
|
||||||
p.col_num = 0; \
|
p.col_num = 1; \
|
||||||
p.buf_idx = 0; \
|
p.buf_idx = 0; \
|
||||||
p.tok_start = 0; \
|
p.tok_start = 0; \
|
||||||
p.tok_end = 0; \
|
p.tok_end = 0; \
|
||||||
|
@ -819,8 +819,8 @@ typedef struct {
|
||||||
p.fp = f; \
|
p.fp = f; \
|
||||||
p.mode = m; \
|
p.mode = m; \
|
||||||
p.flags = 1; \
|
p.flags = 1; \
|
||||||
p.line_num = 0; \
|
p.line_num = 1; \
|
||||||
p.col_num = 0; \
|
p.col_num = 1; \
|
||||||
p.buf_idx = 0; \
|
p.buf_idx = 0; \
|
||||||
p.tok_start = 0; \
|
p.tok_start = 0; \
|
||||||
p.tok_end = 0; \
|
p.tok_end = 0; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue