Skip to content

Commit 226a038

Browse files
authored
Update ConcreteSyntax.java
" "
1 parent b92f603 commit 226a038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/scanner/project/ConcreteSyntax.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public Program program() {
4949
}
5050

5151
// Declarations = { Declaration }
52+
// Declaration can have multiple identifiers: Type Identifier { , Identifier } ;
5253
private Declarations declarations() {
5354
Declarations ds = new Declarations();
5455

@@ -58,7 +59,6 @@ private Declarations declarations() {
5859
// Get the type first
5960
Type t = type();
6061

61-
// Now handle one or more identifiers separated by commas
6262
// First identifier
6363
Declaration d = new Declaration();
6464
d.t = t;

0 commit comments

Comments
 (0)