Created on 2010-05-09.22:57:04 by hongdatang, last changed 2013-02-27.17:46:48 by fwierzbicki.
If you try to enter following code in the jython shell, you would receive error message, "SyntaxError: mismatched input '<EOF>' expecting CLASS".
def entryExit(f):
def new_f():
print "Entering", f.__name__
f()
print "Exited", f.__name__
return new_f
@entryExit
def func1():
print "inside func1()"
I think it is not an issue anymore in branch Release_2_5rc4@7056
I can reproduce this on trunk
Seems like the problem is in the single_input() method of org.python.antlr.PythonParser. So, is it caused by incorrect anltr grammer?