nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parser: inits uses Collection instead of Array
[nit.git]
/
src
/
parser
/
xss
/
prods.xss
diff --git
a/src/parser/xss/prods.xss
b/src/parser/xss/prods.xss
index
c6ebc43
..
c03b85a
100644
(file)
--- a/
src/parser/xss/prods.xss
+++ b/
src/parser/xss/prods.xss
@@
-66,7
+66,7
@@
$ if {count(elem)!=0}
init init_${translate(@ename,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")} (
$ foreach {elem}
$ if {@is_list}
init init_${translate(@ename,"ABCDEFGHIJKLMNOPQRSTUVWXYZ","abcdefghijklmnopqrstuvwxyz")} (
$ foreach {elem}
$ if {@is_list}
- n_@{name}: Array[Object] [-sep ','-] # Should be Array[@etype]
+ n_@{name}: Collection[Object] [-sep ','-] # Should be Collection[@etype]
$ else
n_@{name}: @etype [-sep ','-]
$ end
$ else
n_@{name}: @etype [-sep ','-]
$ end