Changeset 3500:285737440c5b in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/14/08 18:23:17 (11 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix variable name.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r3499 r3500  
    21282128    @spark.production('expr2 ::= not expr2') 
    21292129    def expr_not(self, _0, expr): 
    2130         if isinstance(expr1, Const): # Constant folding 
     2130        if isinstance(expr, Const): # Constant folding 
    21312131            return self.makeconst(_0.start, expr.end, not expr.value) 
    21322132        return Not(_0.start, expr.end, expr)