diff options
author | Lena Olson <lena@cs.wisc.edu> | 2013-06-18 16:58:52 -0500 |
---|---|---|
committer | Lena Olson <lena@cs.wisc.edu> | 2013-06-18 16:58:52 -0500 |
commit | eb1279ff497c773d1dc04a8f81f011e8128b47be (patch) | |
tree | b9b070bd61b1e4de4db618539fc3d367f3b8914e /util | |
parent | 7c39d5df7ea61a39ad1b9a3aa70d22f0e2943b21 (diff) | |
download | gem5-eb1279ff497c773d1dc04a8f81f011e8128b47be.tar.xz |
ruby: fix slicc compiler to complain about duplicate symbols
Previously, .sm files were allowed to use the same name for a type and a
variable. This is unnecessarily confusing and has some bad side effects, like
not being able to declare later variables in the same scope with the same type.
This causes the compiler to complain and die on things like Address Address.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions