Explorar el Código

Merge branch 'ast-interpreter' of github.com:NicolasPetton/amber into ast-interpreter

Nicolas Petton hace 12 años
padre
commit
ece0334618
Se han modificado 2 ficheros con 358 adiciones y 188 borrados
  1. 357 187
      js/parser.js
  2. 1 1
      st/Makefile

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 357 - 187
js/parser.js


+ 1 - 1
st/Makefile

@@ -30,7 +30,7 @@ boot.js init.js:
 # $@ is the target
 # $< is the prerequisite
 parser.js: ../js/parser.pegjs
-	pegjs -e smalltalk.parser $< $@
+	pegjs --track-line-and-column --cache -e smalltalk.parser $< $@
 
 # Then we compile Kernel-*.st files depending on having boot.js, init.js and parser.js
 # $< means the first dependency - in other words Kernel-*.st

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio