Skip to content

Commit

Permalink
Merge pull request #250 from mikebveil/master
Browse files Browse the repository at this point in the history
Suppress unreachable symbol warnings; don't write cached tables
  • Loading branch information
thrawn01 authored Mar 3, 2023
2 parents 551813c + 3e593a0 commit 0c774c0
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions flanker/addresslib/_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,31 +159,41 @@ def p_error(p):
mailbox_parser = yacc.yacc(start='mailbox',
errorlog=log,
tabmodule='mailbox_parsetab',
debug=False)
debug=False,
write_tables=False,
check_recursion=False)

log.debug('building addr_spec parser')
addr_spec_parser = yacc.yacc(start='addr_spec',
errorlog=log,
tabmodule='addr_spec_parsetab',
debug=False)
debug=False,
write_tables=False,
check_recursion=False)

log.debug('building url parser')
url_parser = yacc.yacc(start='url',
errorlog=log,
tabmodule='url_parsetab',
debug=False)
debug=False,
write_tables=False,
check_recursion=False)

log.debug('building mailbox_or_url parser')
mailbox_or_url_parser = yacc.yacc(start='mailbox_or_url',
errorlog=log,
tabmodule='mailbox_or_url_parsetab',
debug=False)
debug=False,
write_tables=False,
check_recursion=False)

log.debug('building mailbox_or_url_list parser')
mailbox_or_url_list_parser = yacc.yacc(start='mailbox_or_url_list',
errorlog=log,
tabmodule='mailbox_or_url_list_parsetab',
debug=False)
debug=False,
write_tables=False,
check_recursion=False)


# Interactive prompt for easy debugging
Expand Down

0 comments on commit 0c774c0

Please sign in to comment.