diff options
Diffstat (limited to 'ply')
-rw-r--r-- | ply/lex.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -861,7 +861,7 @@ class LexerReflect(object): # Build all of the regular expression rules from definitions in the supplied module # ----------------------------------------------------------------------------- def lex(module=None, object=None, debug=False, optimize=False, lextab='lextab', - reflags=re.VERBOSE, nowarn=False, outputdir=None, debuglog=None, errorlog=None): + reflags=int(re.VERBOSE), nowarn=False, outputdir=None, debuglog=None, errorlog=None): if lextab is None: lextab = 'lextab' |