Changeset 364


Ignore:
Timestamp:
Feb 12, 2010, 6:39:32 PM (9 years ago)
Author:
eamiri
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/py2bitexpr.py

    r363 r364  
    141141        #print exp
    142142        assert(1==0)
    143 
    144143    return exp
    145144
     
    393392        elif isinstance(ast_expr, ast.Num):
    394393                assert(ast_expr.n == 0)
    395                 return bitexpr.FalseLiteral()       
     394                return bitexpr.FalseLiteral()
    396395        elif isinstance(ast_expr, ast.Attribute):
    397396                if isinstance(ast_expr.value, ast.Name):
     
    949948        orig = copy.deepcopy(predec)
    950949        s[0].stmts = normalize(s[0].stmts, predec, False)
    951         return [s[0]]+normalize(s[1:], orig)
     950        #return [s[0]]+normalize(s[1:], orig)
     951        return [s[0]]+normalize(s[1:], {})
    952952    if isinstance(s[0], bitexpr.BitAssign):
    953953        code, next = recurse_forward(s)
Note: See TracChangeset for help on using the changeset viewer.