wpp: Line and column numbers must start at one.
This commit is contained in:
parent
df45a347ac
commit
b9b0bcbf3f
|
@ -168,8 +168,8 @@ int wpp_parse( const char *input, FILE *output )
|
|||
int ret;
|
||||
|
||||
pp_status.input = NULL;
|
||||
pp_status.line_number = 0;
|
||||
pp_status.char_number = 0;
|
||||
pp_status.line_number = 1;
|
||||
pp_status.char_number = 1;
|
||||
pp_status.state = 0;
|
||||
|
||||
ret = pp_push_define_state();
|
||||
|
|
Loading…
Reference in New Issue