This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new e8cf94ec68 Add javadoc to `dim`
e8cf94ec68 is described below
commit e8cf94ec686f4710c839cb3f97b50945cb18396d
Author: Daniel Sun <[email protected]>
AuthorDate: Sun Jan 19 14:03:01 2025 +0900
Add javadoc to `dim`
---
src/antlr/GroovyParser.g4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/antlr/GroovyParser.g4 b/src/antlr/GroovyParser.g4
index 500ea14bfc..a23d19e010 100644
--- a/src/antlr/GroovyParser.g4
+++ b/src/antlr/GroovyParser.g4
@@ -1146,6 +1146,9 @@ creator[int t]
)
;
+/**
+ * n 0: dim without size expression; 1: dim with size expression
+ */
dim[int n]
: annotationsOpt LBRACK
(