grammar: add syntax for typed literal arrays
authorJean Privat <jean@pryen.org>
Wed, 24 Sep 2014 20:45:47 +0000 (16:45 -0400)
committerJean Privat <jean@pryen.org>
Thu, 25 Sep 2014 01:55:03 +0000 (21:55 -0400)
commit027e3696466016c407bd379f9c04ba3fc2708807
treedf797242c63a82718f177b30b0426eaf01a82981
parentc128e164dcb14f779353e1e1005ce8128ed52709
grammar: add syntax for typed literal arrays

~~~
var a = [1, 2, 1.5: Numeric]
~~~

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/nit.sablecc3xx
src/parser/parser_nodes.nit