Skip to content

Commit

Permalink
Sync pkg verfsions, remove parse debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Dec 10, 2017
1 parent 134dd1e commit dee9e5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions __pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
'nose>=1.0.0',
'pyficache >= 0.3.2',
'pygments >= 2.0.2',
'spark_parser >= 1.7.2, <1.8.0',
'uncompyle6 >= 2.13.3',
'spark_parser >= 1.8.4, <1.9.0',
'uncompyle6 >= 2.14.0',
'tracer >= 0.3.2',
'unittest2',
'xdis >= 3.6.1, < 3.7.0',
Expand Down
1 change: 0 additions & 1 deletion trepan/processor/parse/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def parse_location(start_symbol, text, out=sys.stdout,
# 'errorstack': 'full', 'dups': False}

parser = LocationParser(start_symbol, text, parser_debug)
parser.check_grammar(frozenset(('bp_start', 'range_start', 'arange_start')))
return parser.parse(tokens)

def parse_bp_location(*args, **kwargs):
Expand Down
6 changes: 3 additions & 3 deletions trepan/processor/parse/semantics.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def build_bp_expr(string, show_tokens=False, show_ast=False, show_grammar=False)
parser_debug = {'rules': False, 'transition': False,
'reduce': show_grammar,
'errorstack': None,
# 'context': True, 'dups': True
'context': True, 'dups': False
}
parsed = parse_bp_location(string, show_tokens=show_tokens,
parser_debug=parser_debug)
Expand All @@ -251,7 +251,7 @@ def build_range(string, show_tokens=False, show_ast=False, show_grammar=False):
parser_debug = {'rules': False, 'transition': False,
'reduce': show_grammar,
'errorstack': None,
'context': True, 'dups': True
'context': True, 'dups': False
}
parsed = parse_range(string, show_tokens=show_tokens,
parser_debug=parser_debug)
Expand All @@ -268,7 +268,7 @@ def build_arange(string, show_tokens=False, show_ast=False, show_grammar=False):
parser_debug = {'rules': False, 'transition': False,
'reduce': show_grammar,
'errorstack': None,
'context': True, 'dups': True
'context': True, 'dups': False
}
parsed = parse_arange(string, show_tokens=show_tokens,
parser_debug=parser_debug)
Expand Down

0 comments on commit dee9e5d

Please sign in to comment.