Commit d8b20cf5 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Properly handle quoted number literals in MSI condition statements.

parent cd2065f1
......@@ -399,6 +399,11 @@ literal:
{
$$ = $2;
}
| COND_DBLQ integer COND_DBLQ
{
static const WCHAR pi[] = {'%','i',0};
sprintfW($$,pi,$2);
}
;
symbol_i:
......@@ -501,7 +506,7 @@ static int COND_IsAlpha( WCHAR x )
static int COND_IsNumber( WCHAR x )
{
return( ( x >= '0' ) && ( x <= '9' ) );
return( (( x >= '0' ) && ( x <= '9' )) || (x =='-') );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment