Closed vbmacher closed 3 years ago
A deduplicate root rules visitor has been implemented
TODO: root rules which have multiple names are called possibly by wrong name. Rule names in root rule declaration are translated into Rule objects and the names are forgotten. Then in decoder rules are called as rule_first_name(start, RULE_FIRST_NAME)
instead of rule_first_name(start, RULE_NAME_USED_IN_ROOT_RULE_DECLARATION)
TODO: root rules which have multiple names are called possibly by wrong name. Rule names in root rule declaration are translated into Rule objects and the names are forgotten. Then in decoder rules are called as
rule_first_name(start, RULE_FIRST_NAME)
instead ofrule_first_name(start, RULE_NAME_USED_IN_ROOT_RULE_DECLARATION)
It's done now.
There are missing checks for detection multiple names of the same rule