Author: bernhard
Date: Wed Apr 26 13:06:12 2006
New Revision: 12439

Modified:
   trunk/languages/bc/bc.py

Log:
TGE grammar files now have extension '*.tg'


Modified: trunk/languages/bc/bc.py
==============================================================================
--- trunk/languages/bc/bc.py    (original)
+++ trunk/languages/bc/bc.py    Wed Apr 26 13:06:12 2006
@@ -200,8 +200,8 @@
 
 .sub 'bc' :main
     load_bytecode 'languages/punie/lib/PAST.pir'
-    load_bytecode "TGE.pbc"
-    load_bytecode "languages/punie/lib/POST.pir"
+    load_bytecode 'TGE.pbc'
+    load_bytecode 'languages/punie/lib/POST.pir'
 
     # START of PIR generated by antlr_2/antlr_past2pir_past.g
 """
@@ -214,7 +214,7 @@
 
     # Compile the abstract syntax tree down to an opcode syntax tree
     .local string ost_tg_source
-    ost_tg_source = _slurp_file('languages/punie/lib/past2post.g')
+    ost_tg_source = _slurp_file('languages/punie/lib/past2post.tg')
     .local pmc ostgrammar
     ostgrammar = new 'TGE'
     ostgrammar.agcompile(ost_tg_source)
@@ -230,7 +230,7 @@
 
     # Compile the OST down to PIR
     .local string pir_tg_source
-    pir_tg_source = _slurp_file('languages/punie/lib/post2pir.g')
+    pir_tg_source = _slurp_file('languages/punie/lib/post2pir.tg')
     .local pmc pirgrammar
     pirgrammar = new 'TGE'
     pirgrammar.agcompile(pir_tg_source)

Reply via email to