changeset 227:3b167513ce75

util: fixed default lineno. of error message
author Sigurd Meldgaard <stm@daimi.au.dk>
date Wed, 23 Dec 2009 14:44:46 +0100
parents fb00d2f2159b
children 100d45949680
files pysmcl/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/util.py	Wed Dec 23 14:44:02 2009 +0100
+++ b/pysmcl/util.py	Wed Dec 23 14:44:46 2009 +0100
@@ -15,5 +15,5 @@
             raise "Loc must be an expression or statement node"
         loc_tuple = (loc.lineno, loc.col_offset, l)
     else:
-        loc_tuple = (0,0,1)
+        loc_tuple = (1,0,1)
     print "!error: %d %d %d (%s)" % (loc_tuple + (msg,))