Skip to content

Commit

Permalink
Note about arrays of arrays and fix tipo
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkyenus committed May 3, 2015
1 parent 21d9575 commit 6404eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/glslplugin/lang/parser/GLSLParsing.java
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ private void parseDeclarator() {
mark.done(DECLARATOR);
}

private void parseArrayDeclarator() {
private void parseArrayDeclarator() {//TODO Support multi-dimensional arrays (since 4.3)
final PsiBuilder.Marker mark = b.mark();

match(LEFT_BRACKET, "Expected '['.");
Expand All @@ -826,7 +826,7 @@ private void parseArrayDeclarator() {
parseConstantExpression();
match(RIGHT_BRACKET, "Missing closing ']' after array declarator.");
}
err.error("Multiple dimensional arrays not allowed.");
err.error("Multi-dimensional arrays are not allowed.");
}
}

Expand Down

1 comment on commit 6404eb8

@Darkyenus
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in commit about typos. Typical.

Please sign in to comment.