Diff of /pyke/krb_compiler/ply/yacc.py [e6e990] .. [c237fe]  Maximize  Restore

Switch to side-by-side view

--- a/pyke/krb_compiler/ply/yacc.py
+++ b/pyke/krb_compiler/ply/yacc.py
@@ -59,7 +59,7 @@
 # own risk!
 # ----------------------------------------------------------------------------
 
-__version__    = "3.2"
+__version__    = "3.3"
 __tabversion__ = "3.2"       # Table version
 
 #-----------------------------------------------------------------------------
@@ -211,7 +211,7 @@
         return getattr(self.slice[n],"lineno",0)
 
     def set_lineno(self,n,lineno):
-        self.slice[n].lineno = n
+        self.slice[n].lineno = lineno
 
     def linespan(self,n):
         startline = getattr(self.slice[n],"lineno",0)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks