Alexandre Julliard julliard@winehq.org writes:
It looks like the bug is with quotes in the middle of tokens then.
Does this work for you?
Index: dlls/setupapi/parser.c =================================================================== RCS file: /opt/cvs-commit/wine/dlls/setupapi/parser.c,v retrieving revision 1.17 diff -u -p -r1.17 parser.c --- dlls/setupapi/parser.c 1 Jun 2005 11:05:47 -0000 1.17 +++ dlls/setupapi/parser.c 22 Jul 2005 09:41:44 -0000 @@ -647,7 +647,7 @@ static const WCHAR *key_name_state( stru set_state( parser, COMMENT ); return p + 1; case '"': - push_token( parser, token_end ); + push_token( parser, p ); parser->start = p + 1; push_state( parser, KEY_NAME ); set_state( parser, QUOTES ); @@ -699,7 +699,7 @@ static const WCHAR *value_name_state( st set_state( parser, LEADING_SPACES ); return p + 1; case '"': - push_token( parser, token_end ); + push_token( parser, p ); parser->start = p + 1; push_state( parser, VALUE_NAME ); set_state( parser, QUOTES );