Commit 42052e2f authored by Igor Dejanovic's avatar Igor Dejanovic

Small fix in exception message.

parent 71701e0e
...@@ -59,7 +59,7 @@ class SemGrammar(SemanticAction): ...@@ -59,7 +59,7 @@ class SemGrammar(SemanticAction):
return parser.peg_rules[rule_name] return parser.peg_rules[rule_name]
else: else:
raise SemanticError("Rule \"{}\" does not exists." raise SemanticError("Rule \"{}\" does not exists."
.format(n.rule_name)) .format(rule_name))
for i, n in enumerate(node.nodes): for i, n in enumerate(node.nodes):
if isinstance(n, CrossRef): if isinstance(n, CrossRef):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment