Review Board 2.0.15


ruby: fix slicc compiler to complain about duplicate symbols

Review Request #1924 - Created June 13, 2013 and submitted - Latest diff uploaded

Information
Lena Olson
gem5
default
Reviewers
Default
Changeset 9756:4793fa5955e0
---------------------------
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.
util/regress --builds="ALPHA_MOESI_hammer,ALPHA_MESI_CMP_directory,ALPHA_MOESI_CMP_directory,ALPHA_MOESI_CMP_token,X86_MESI_CMP_directory" --compile-variants="debug" after application of Changeset 9756:8956d858a9e6 (review request 1921).