Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e596a011
Commit
e596a011
authored
Nov 12, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed a couple of shift/reduce warnings in grammar.
parent
939f9eaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
dbg.y
programs/winedbg/dbg.y
+5
-4
debug.l
programs/winedbg/debug.l
+1
-0
No files found.
programs/winedbg/dbg.y
View file @
e596a011
...
...
@@ -79,7 +79,7 @@ int yyerror(const char*);
%left '+' '-'
%left '*' '/' '%'
%left OP_SIGN '!' '~' OP_DEREF /* OP_INC OP_DEC OP_ADDR */
%left '.' '[' OP_DRF
%left '.' '[' OP_DRF
OP_SCOPE
%nonassoc ':'
%type <expression> expr lvalue
...
...
@@ -164,8 +164,8 @@ identifier:
tIDENTIFIER { $$ = $1; }
| tPATH '!' tIDENTIFIER { $$ = lexeme_alloc_size(strlen($1) + 1 + strlen($3) + 1);
sprintf($$, "%s!%s", $1, $3); }
| identifier
':' ':' tIDENTIFIER { $$ = lexeme_alloc_size(strlen($1) + 2 + strlen($4
) + 1);
sprintf($$, "%s::%s", $1, $
4
); }
| identifier
OP_SCOPE tIDENTIFIER { $$ = lexeme_alloc_size(strlen($1) + 2 + strlen($3
) + 1);
sprintf($$, "%s::%s", $1, $
3
); }
;
list_arg:
...
...
@@ -374,7 +374,8 @@ lvalue_addr:
lvalue { $$ = expr_eval($1); }
;
lvalue: tNUM { $$ = expr_alloc_sconstant($1); }
lvalue:
tNUM { $$ = expr_alloc_sconstant($1); }
| tINTVAR { $$ = expr_alloc_internal_var($1); }
| identifier { $$ = expr_alloc_symbol($1); }
| lvalue OP_DRF tIDENTIFIER { $$ = expr_alloc_pstruct($1, $3); }
...
...
programs/winedbg/debug.l
View file @
e596a011
...
...
@@ -112,6 +112,7 @@ STRING \"[^\n"]+\"
"<<" { return OP_SHL; }
">>" { return OP_SHR; }
"->" { return OP_DRF; }
"::" { return OP_SCOPE; }
[-+<=>|&^()*/%:!~,\.] { return *yytext; }
"[" { return *yytext; }
"]" { return *yytext; }
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment