winedbg: Fix reduce-reduce conflict in the grammer.

Dylan Smith dylan.ah.smith at gmail.com
Mon Aug 17 00:15:06 CDT 2009


There was no need for this ambiguity since the indentifier allows a
module name to be specified, then cpp_reference allows namespaces to be
included.
---
 programs/winedbg/dbg.y |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/programs/winedbg/dbg.y b/programs/winedbg/dbg.y
index 7d1e44e..9e1c380 100644
--- a/programs/winedbg/dbg.y
+++ b/programs/winedbg/dbg.y
@@ -167,8 +167,8 @@ pathname:
 
 cpp_identifier:
       tIDENTIFIER               { $$ = $1; }
-    | identifier OP_SCOPE tIDENTIFIER { $$ = lexeme_alloc_size(strlen($1) + 2 + strlen($3) + 1);
-                                       sprintf($$, "%s::%s", $1, $3); }
+    | cpp_identifier OP_SCOPE tIDENTIFIER { $$ = lexeme_alloc_size(strlen($1) + 2 + strlen($3) + 1);
+                                            sprintf($$, "%s::%s", $1, $3); }
     ;
 
 identifier:


More information about the wine-patches mailing list