msi: Define special types for condition operators, identifiers and expressions.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2017-10-24 15:01:26 +02:00 committed by Alexandre Julliard
parent 024c6c1b4b
commit c8d32b69ec
1 changed files with 8 additions and 3 deletions

View File

@ -115,6 +115,9 @@ static BOOL num_from_prop( LPCWSTR p, INT *val )
struct cond_str str;
LPWSTR string;
INT value;
LPWSTR identifier;
INT operator;
BOOL bool;
}
%token COND_SPACE COND_EOF
@ -128,9 +131,11 @@ static BOOL num_from_prop( LPCWSTR p, INT *val )
%nonassoc COND_ERROR COND_EOF
%type <value> expression boolean_term boolean_factor
%type <value> value_i operator
%type <string> identifier symbol_s value_s literal
%type <bool> expression boolean_term boolean_factor
%type <value> value_i
%type <string> symbol_s value_s literal
%type <identifier> identifier
%type <operator> operator
%%