Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
arpeggio-gm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
backend
arpeggio-gm
Commits
246bb826
Commit
246bb826
authored
Feb 12, 2014
by
Igor Dejanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in the Combine decorator
parent
2951f542
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
__init__.py
arpeggio/__init__.py
+2
-1
No files found.
arpeggio/__init__.py
View file @
246bb826
...
...
@@ -383,6 +383,7 @@ class Combine(Decorator):
def
_parse
(
self
,
parser
):
results
=
[]
old_in_lex_rule
=
parser
.
_in_lex_rule
parser
.
_in_lex_rule
=
True
self
.
c_pos
=
parser
.
position
try
:
...
...
@@ -398,7 +399,7 @@ class Combine(Decorator):
parser
.
position
=
self
.
c_pos
# Backtracking
raise
finally
:
parser
.
_in_lex_rule
=
Fals
e
parser
.
_in_lex_rule
=
old_in_lex_rul
e
return
results
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment