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 b370188 commit a19d4b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions semantics/cpp/language/common/class.k
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ 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.
// TODO(chathhorn): the stuff below causes parsing ambiguities with the Class production above. Need to resolve in
// a better way.
syntax InnerClass ::= Class // TODO(chathhorn): added as an interim fix.
syntax LocalInnerClass ::= Class // TODO(chathhorn): added as an interim fix.

// syntax LocalClass ::= LocalQualifier "::" ClassSpecifier [klabel(classId)]

// syntax Class ::= LocalClass
Expand Down

0 comments on commit a19d4b9

Please sign in to comment.