Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
chathhorn committed Oct 27, 2019
1 parent bd6f726 commit b370188
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion semantics/cpp/language/common/class.k
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ module CPP-CLASS-BASIC-SYNTAX

syntax Class ::= ClassQualifier "::" ClassSpecifier [klabel(classId)]

// TODO(chathhorn): commenting these out because they seem to be redundant (with the above production for Class)
// and cause parsing ambiguities.
syntax InnerClass ::= Class // TODO(chathhorn): added by me to replace the stuff below.
// syntax LocalClass ::= LocalQualifier "::" ClassSpecifier [klabel(classId)]

// syntax Class ::= LocalClass
// syntax Class ::= InnerClass

// Redundant
// syntax InnerClass ::= Class "::" ClassSpecifier [klabel(classId)]

// syntax LocalInnerClass ::= LocalClass
Expand Down

0 comments on commit b370188

Please sign in to comment.