diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:44 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:44 -0500 |
commit | b1d3873ec52692b0442666718da4175379697bb2 (patch) | |
tree | cff299c0befcef4f843272e1e9f633060fa8c815 /src/mem/protocol | |
parent | 3202ec98e713d3f997e6b47f06451236c565f706 (diff) | |
download | gem5-b1d3873ec52692b0442666718da4175379697bb2.tar.xz |
ruby: slicc: improve the grammar
This patch changes the grammar for SLICC so as to remove some of the
redundant / duplicate rules. In particular rules for object/variable
declaration and class member declaration have been unified. Similarly, the
rules for a general function and a class method have been unified.
One more change is in the priority of two rules. The first rule is on
declaring a function with all the params typed and named. The second rule is
on declaring a function with all the params only typed. Earlier the second
rule had a higher priority. Now the first rule has a higher priority.
Diffstat (limited to 'src/mem/protocol')
0 files changed, 0 insertions, 0 deletions