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
7bcf8f51
Commit
7bcf8f51
authored
Jan 24, 2014
by
Igor Dejanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing check for nested rules. Forgot why I have put it there in the
first place.
parent
0722066c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
__init__.py
arpeggio/__init__.py
+5
-5
No files found.
arpeggio/__init__.py
View file @
7bcf8f51
...
@@ -793,11 +793,11 @@ class ParserPython(Parser):
...
@@ -793,11 +793,11 @@ class ParserPython(Parser):
__rule_cache
.
get
(
rule
)
.
rule_name
__rule_cache
.
get
(
rule
)
.
rule_name
return
__rule_cache
.
get
(
rule
)
return
__rule_cache
.
get
(
rule
)
expression_expression
=
expression
()
#
expression_expression = expression()
if
callable
(
expression_expression
):
#
if callable(expression_expression):
raise
GrammarError
(
#
raise GrammarError(
"Rule element
can't be just another rule in '
%
s'."
%
#"Rule element '%s'
can't be just another rule in '%s'." %
rule
)
#(expression_expression, rule)
)
# Semantic action for the rule
# Semantic action for the rule
if
hasattr
(
expression
,
"sem"
):
if
hasattr
(
expression
,
"sem"
):
...
...
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