public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20b63d
)
We're not using 'allocates' any more; clean up.
author
David Given
<dg@cowlark.com>
Thu, 6 Oct 2016 19:33:43 +0000
(21:33 +0200)
committer
David Given
<dg@cowlark.com>
Thu, 6 Oct 2016 19:33:43 +0000
(21:33 +0200)
util/mcgg/gram.y
patch
|
blob
|
history
util/mcgg/scan.l
patch
|
blob
|
history
diff --git
a/util/mcgg/gram.y
b/util/mcgg/gram.y
index
fbd1910
..
30c61cb
100644
(file)
--- a/
util/mcgg/gram.y
+++ b/
util/mcgg/gram.y
@@
-25,7
+25,6
@@
extern int yylex(void);
struct constraint* constraint;
}
-%term ALLOCATES
%term COPY
%term COST
%term DECLARATIONS
@@
-43,7
+42,6
@@
extern int yylex(void);
%token <string> ID
%token <string> QFRAGMENT
-%type <nonterm> allocates
%type <constraint> constraint
%type <constraint> constraints
%type <nonterm> declaration
diff --git
a/util/mcgg/scan.l
b/util/mcgg/scan.l
index
2d04f52
..
6bd50d2
100644
(file)
--- a/
util/mcgg/scan.l
+++ b/
util/mcgg/scan.l
@@
-38,7
+38,6
@@
static int braces = 0;
"DECLARATIONS" return DECLARATIONS;
"PATTERNS" return PATTERNS;
"REGISTERS" return REGISTERS;
-"allocates" return ALLOCATES;
"cost" return COST;
"emit" return EMIT;
"fragment" return FRAGMENT;