summaryrefslogtreecommitdiff
path: root/src/runtime/python/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/python/test.py')
-rw-r--r--src/runtime/python/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/python/test.py b/src/runtime/python/test.py
index cb0ba5452..ae0427d60 100644
--- a/src/runtime/python/test.py
+++ b/src/runtime/python/test.py
@@ -19,8 +19,8 @@ while True:
break;
try:
- for e in gr.languages["ParseEng"].parse(gr.startCat,line):
- print e
+ for (p,e) in gr.languages["ParseEng"].parse(gr.startCat,line):
+ sys.stdout.write("["+str(p)+"] "+str(e)+"\n")
print gr.languages["ParseEngBul"].linearize(e)
except pgf.ParseError as e:
print e.message