Commits

trijezdci committed 36c89eb

minor edits

Comments (0)

Files changed (1)

_GRAMMAR/modula2_syntax_diagrams.tcl

 
 # (2.2) Required Conformance
 lappend non_terminals requiredConformance {
-  line Ident
+  line prototypeIdent
 }
 
 # (3) Required Type
 
 # (17.1) Enumeration Type Identifier
 lappend non_terminals enumTypeIdent {
+  line typeIdent
+}
+
+# (17.2) Type Identifier
+lappend non_terminals typeIdent {
   line qualident
 }
 
   OF typeIdent
 }
 
-# (18.1) Type Identifier
-lappend non_terminals typeIdent {
-  line qualident
-}
-
-# (18.2) Component Count
+# (18.1) Component Count
 lappend non_terminals componentCount {
   line constExpression
 }
 
 # (19.1) Base Type
 lappend non_terminals baseType {
-  line qualident
+  line typeIdent
 }
 
 # (20) Field List
 
 # (23.1) Returned Type
 lappend non_terminals returnedType {
-  line qualident
+  line typeIdent
 }
 
 # (24) Formal Type List