我在这部分代码中有一个shift-reduce冲突....
<Designator> ::= <Qualident>
| <Qualident> <auxDesignator>
<auxDesignator> ::= '.' Identifier
| '[' <ExpressionList> ']'
| '^'
| <auxDesignator> '.' Identifier
| <auxDesignator> '[' <ExpressionList> ']'
| <auxDesignator> '^'
<Qualident> ::= Identifier
| Identifier <auxIdentifier>
<auxIdentifier> ::= '.' Identifier
| <auxIdentifier> '.' Identifier
当我写这行os代码
时,我有一个shift-reduce conflit<auxDesignator> ::= '.' Identifier
但这条线是尊重语法的必要条件,任何人都可以帮助我吗?