Commits

Waldemar Kornewald committed 7997ac6

fixed compile-pyva script

  • Participants
  • Parent commits 29a277b

Comments (0)

Files changed (1)

File compile-pyva.py

 
 file_name = sys.argv[1].rsplit('.', 1)[0]
 
-g = Grammar.parse_source(open(sys.argv[1], 'r').read())
+g = Grammar.parse(open(sys.argv[1], 'r').read())
 
 new_file = open(file_name + '.js', 'w')
-new_file.write(Translator.parse_source(g))
+new_file.write(Translator.parse(g))