Browse Source

Fixed issue #127

Nicolas Petton 12 years ago
parent
commit
a5f0e6e7b6
2 changed files with 2057 additions and 3004 deletions
  1. 2056 3003
      js/parser.js
  2. 1 1
      js/parser.pegjs

File diff suppressed because it is too large
+ 2056 - 3003
js/parser.js


+ 1 - 1
js/parser.pegjs

@@ -28,7 +28,7 @@ literalArray   = "#(" ws lits:(lit:literal ws {return lit._value()})* ws ")" {
 		  return smalltalk.ValueNode._new()
                	   	._value_(lits)
                	 }
-dynamicArray   = "{" ws expressions:expressions? ws "}" {
+dynamicArray   = "{" ws expressions:expressions? ws "."? "}" {
 	       	  return smalltalk.DynamicArrayNode._new()
 		        ._nodes_(expressions)
 		  }

Some files were not shown because too many files changed in this diff