[PATCH 2/4] msi: Define special types for condition operators, identifiers and expressions

Piotr Caban <[email protected]>
Newsgroups gmane.comp.emulators.wine.patches
Message-ID <[email protected]>
Signed-off-by: Piotr Caban <[email protected]>
---
  dlls/msi/cond.y | 11 ++++++++---
  1 file changed, 8 insertions(+), 3 deletions(-)
0002-msi-Define-special-types-for-condition-operators-ident.txt (text/x-patch, 787 B)
diff --git a/dlls/msi/cond.y b/dlls/msi/cond.y
index 8b63a5064a..8bdaf8432a 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 <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
 
 %%
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.