Fixed some bugs
This commit is contained in:
@@ -275,7 +275,7 @@ class AtomNodeParser(BaseNodeParser):
|
||||
concept_parser.eat_concept(concepts[0], pos)
|
||||
continue
|
||||
|
||||
# make the cartesian product
|
||||
# len(concepts) > 1, make the cartesian product
|
||||
temp_res = []
|
||||
for concept_parser in concept_parser_helpers:
|
||||
if concept_parser.is_locked:
|
||||
|
||||
@@ -980,7 +980,7 @@ class BnfConceptParserHelper:
|
||||
_add_prop(concept, underlying.parsing_expression.rule_name, value)
|
||||
# KSI : Why don't we set concept.metadata.need_validation to True ?
|
||||
|
||||
if isinstance(underlying, NonTerminalNode):
|
||||
if isinstance(underlying, NonTerminalNode) and not isinstance(underlying.parsing_expression, ConceptExpression):
|
||||
for node in underlying.children:
|
||||
_process_rule_name(concept, node)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user