diff options
author | David Beazley <dave@dabeaz.com> | 2017-01-31 10:09:12 -0600 |
---|---|---|
committer | David Beazley <dave@dabeaz.com> | 2017-01-31 10:09:12 -0600 |
commit | 69de7b84c8bfb2bf33853b00409af93008362dda (patch) | |
tree | 6b1cb38a2c21aa0055f8c4045450f2af74aef1b5 /ply | |
parent | b659dab56b5488b85f083c677bf1e4a96c5a7512 (diff) | |
download | ply-69de7b84c8bfb2bf33853b00409af93008362dda.tar.gz |
Minor patch up for re flags
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' |