git.annexia.org
/
goals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70a08a6
)
parser: Fix parsing of patterns containing explicit tactic names.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 6 Jan 2020 20:54:09 +0000
(20:54 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 6 Jan 2020 20:54:09 +0000
(20:54 +0000)
src/parser.mly
patch
|
blob
|
history
diff --git
a/src/parser.mly
b/src/parser.mly
index
faccb6b
..
c59a555
100644
(file)
--- a/
src/parser.mly
+++ b/
src/parser.mly
@@
-148,7
+148,7
@@
patterns:
;
pattern:
| STRING { Ast.PTactic ($loc, "*file", [$1]) }
- |
ID
pattern_params { Ast.PTactic ($loc, $1, $2) }
+ |
TACTIC
pattern_params { Ast.PTactic ($loc, $1, $2) }
;
pattern_params:
| LEFT_PAREN separated_list(COMMA, pattern_param) RIGHT_PAREN { $2 }