projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24f9ac
)
fixed broken call to compiler error function
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 2 Dec 2007 11:07:35 +0000
(12:07 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 2 Dec 2007 11:07:35 +0000
(12:07 +0100)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index 47f8c4756ac2cbc1540ca945f03187030cd8a02f..d751768ee36ff26dbeb3fe82f18bcb83f4810ab2 100644
(file)
--- a/
Cython/Compiler/Parsing.py
+++ b/
Cython/Compiler/Parsing.py
@@
-1202,7
+1202,8
@@
def p_with_statement(s):
body = p_suite(s)
return Nodes.GILStatNode(pos, state = state, body = body)
else:
- s.error(pos, "Only 'with gil' and 'with nogil' implemented")
+ s.error("Only 'with gil' and 'with nogil' implemented",
+ pos = pos)
def p_simple_statement(s):
#print "p_simple_statement:", s.sy, s.systring ###