Review Board 2.0.15


ruby: slicc: fix member name of TypeFieldMemberAST msg

Review Request #1871 - Created May 16, 2013 and submitted

Information
Malek Musleh
gem5
default
Reviewers
Default
Changeset 9704:7c4aa8e9b13a
---------------------------
 ruby: slicc: fix member name of TypeFieldMemberAST msg

The member fields type_ptr, field_id are not defined, so when a MemberField is duplicated, instead of SLICC indicating which TypeFieldMember is duplicated, it outputs:
NameError: global name 'field_id' is not defined:
AttributeError: 'TypeFieldMemberAST' object has no attribute 'type_ptr':

With this patch, during compilation, SLICC now indicates the protocol file and Message FieldType that is duplicated:
Exception: MOESI_CMP_directory-msg.sm:245: Error: Duplicate data member: Sender:Sender:

Testing:

   

Issue Summary

1 1 0 0
Description From Last Updated Status
Why print field id twice? Instead add the field type. Nilay Vaish May 17, 2013, 12:53 a.m. Open
Review request changed
Updated (May 23, 2013, 2:46 p.m.)

Status: Closed (submitted)