Ignore:
Timestamp:
Aug 6, 2014, 9:56:31 AM (5 years ago)
Author:
cameron
Message:

Shorten if-range tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/CC_compiler.py

    r3960 r3964  
    274274               e = self.expr_string_to_variable(self.expr2py(expr.operand))
    275275               return 'Advance(%s, %i)' % (e, expr.offset)
    276             else: raise Exception("Bad expression: %s" % repr(e))
     276            else: raise Exception("Bad expression: %s" % repr(expr))
    277277
    278278    def chardef2py(self, chardef):
Note: See TracChangeset for help on using the changeset viewer.