We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92f603 commit 226a038Copy full SHA for 226a038
src/main/java/com/scanner/project/ConcreteSyntax.java
@@ -49,6 +49,7 @@ public Program program() {
49
}
50
51
// Declarations = { Declaration }
52
+ // Declaration can have multiple identifiers: Type Identifier { , Identifier } ;
53
private Declarations declarations() {
54
Declarations ds = new Declarations();
55
@@ -58,7 +59,6 @@ private Declarations declarations() {
58
59
// Get the type first
60
Type t = type();
61
- // Now handle one or more identifiers separated by commas
62
// First identifier
63
Declaration d = new Declaration();
64
d.t = t;
0 commit comments