wpp: Reset the line position when parsing a new file.
This commit is contained in:
parent
82f910eb62
commit
2b5d06afb9
|
@ -168,6 +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.state = 0;
|
||||
|
||||
ret = pp_push_define_state();
|
||||
|
|
Loading…
Reference in New Issue