From c8d32b69ec467d649ad86b50b14a8cf245630f25 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Tue, 24 Oct 2017 15:01:26 +0200 Subject: [PATCH] msi: Define special types for condition operators, identifiers and expressions. Signed-off-by: Piotr Caban Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- dlls/msi/cond.y | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dlls/msi/cond.y b/dlls/msi/cond.y index 8b63a5064a5..8bdaf8432a9 100644 --- a/dlls/msi/cond.y +++ b/dlls/msi/cond.y @@ -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 expression boolean_term boolean_factor -%type value_i operator -%type identifier symbol_s value_s literal +%type expression boolean_term boolean_factor +%type value_i +%type symbol_s value_s literal +%type identifier +%type operator %%