ruby: fix slicc compiler to complain about duplicate symbols
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>

KuroeKurose/gem5,rjschof/gem5,gem5/gem5,powerjg/gem5-ci-test,sobercoder/gem5,gedare/gem5,powerjg/gem5-ci-test,sobercoder/gem5,rallylee/gem5,markoshorro/gem5,SanchayanMaity/gem5,kaiyuanl/gem5,KuroeKurose/gem5,markoshorro/gem5,zlfben/gem5,Weil0ng/gem5,yb-kim/gemV,sobercoder/gem5,aclifton/cpeg853-gem5,KuroeKurose/gem5,austinharris/gem5-riscv,cancro7/gem5,yb-kim/gemV,markoshorro/gem5,briancoutinho0905/2dsampling,kaiyuanl/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,HwisooSo/gemV-update,sobercoder/gem5,yb-kim/gemV,qizenguf/MLC-STT,rjschof/gem5,qizenguf/MLC-STT,HwisooSo/gemV-update,kaiyuanl/gem5,powerjg/gem5-ci-test,rallylee/gem5,TUD-OS/gem5-dtu,SanchayanMaity/gem5,markoshorro/gem5,cancro7/gem5,kaiyuanl/gem5,samueldotj/TeeRISC-Simulator,TUD-OS/gem5-dtu,yb-kim/gemV,markoshorro/gem5,briancoutinho0905/2dsampling,gem5/gem5,gedare/gem5,sobercoder/gem5,aclifton/cpeg853-gem5,KuroeKurose/gem5,rjschof/gem5,HwisooSo/gemV-update,zlfben/gem5,gedare/gem5,TUD-OS/gem5-dtu,rallylee/gem5,Weil0ng/gem5,gedare/gem5,HwisooSo/gemV-update,yb-kim/gemV,samueldotj/TeeRISC-Simulator,qizenguf/MLC-STT,briancoutinho0905/2dsampling,rjschof/gem5,SanchayanMaity/gem5,austinharris/gem5-riscv,SanchayanMaity/gem5,briancoutinho0905/2dsampling,samueldotj/TeeRISC-Simulator,yb-kim/gemV,TUD-OS/gem5-dtu,rjschof/gem5,markoshorro/gem5,yb-kim/gemV,qizenguf/MLC-STT,SanchayanMaity/gem5,KuroeKurose/gem5,Weil0ng/gem5,samueldotj/TeeRISC-Simulator,gem5/gem5,zlfben/gem5,samueldotj/TeeRISC-Simulator,sobercoder/gem5,powerjg/gem5-ci-test,cancro7/gem5,rjschof/gem5,aclifton/cpeg853-gem5,KuroeKurose/gem5,powerjg/gem5-ci-test,HwisooSo/gemV-update,aclifton/cpeg853-gem5,markoshorro/gem5,cancro7/gem5,kaiyuanl/gem5,gem5/gem5,gem5/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,sobercoder/gem5,austinharris/gem5-riscv,rallylee/gem5,powerjg/gem5-ci-test,austinharris/gem5-riscv,zlfben/gem5,powerjg/gem5-ci-test,cancro7/gem5,cancro7/gem5,Weil0ng/gem5,qizenguf/MLC-STT,yb-kim/gemV,cancro7/gem5,austinharris/gem5-riscv,kaiyuanl/gem5,kaiyuanl/gem5,austinharris/gem5-riscv,briancoutinho0905/2dsampling,Weil0ng/gem5,austinharris/gem5-riscv,HwisooSo/gemV-update,rallylee/gem5,Weil0ng/gem5,aclifton/cpeg853-gem5,gedare/gem5,gem5/gem5,gem5/gem5,HwisooSo/gemV-update,qizenguf/MLC-STT,qizenguf/MLC-STT,rallylee/gem5,aclifton/cpeg853-gem5,gedare/gem5,samueldotj/TeeRISC-Simulator,KuroeKurose/gem5,briancoutinho0905/2dsampling,zlfben/gem5,samueldotj/TeeRISC-Simulator,aclifton/cpeg853-gem5,zlfben/gem5,zlfben/gem5,TUD-OS/gem5-dtu,briancoutinho0905/2dsampling,SanchayanMaity/gem5,rjschof/gem5,gedare/gem5,rallylee/gem5