wpp: Reset the line position when parsing a new file.

oldstable
Alexandre Julliard 2010-01-04 13:00:43 +01:00
parent 82f910eb62
commit 2b5d06afb9
1 changed files with 2 additions and 0 deletions

View File

@ -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();