From 6404eb8b57da285c388c43e6df8ac1785ca81971 Mon Sep 17 00:00:00 2001 From: Darkyenus Date: Sun, 3 May 2015 17:50:15 +0200 Subject: [PATCH] Note about arrays of arrays and fix tipo --- src/glslplugin/lang/parser/GLSLParsing.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glslplugin/lang/parser/GLSLParsing.java b/src/glslplugin/lang/parser/GLSLParsing.java index 2b182137..15bcc010 100755 --- a/src/glslplugin/lang/parser/GLSLParsing.java +++ b/src/glslplugin/lang/parser/GLSLParsing.java @@ -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 '['."); @@ -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."); } }