We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于boolUnit_的处理,只需要在yacc中新增boolUnit_的声明(%type BoolUnit_;)并修改yacc中的规则即可,在调用C语言函数构造语法树时将其认为是boolUnit类型(因为boolUnit和boolUnit_包含的信息相同)
The text was updated successfully, but these errors were encountered:
请问一下如何“在调用C语言函数构造语法树时将其认为是boolUnit类型”,make时总会报关于boolUnit_的类型不匹配错误,还需要修改parsec.yacc以外的其他文件吗?//已解决,发现是在yacc定义处,重复定义了boolunit_类型
Sorry, something went wrong.
emm,没太懂如果你将其当作boolUnit类型处理的话为什么会报boolUnit_的类型不匹配错误
No branches or pull requests
对于boolUnit_的处理,只需要在yacc中新增boolUnit_的声明(%type BoolUnit_;)并修改yacc中的规则即可,在调用C语言函数构造语法树时将其认为是boolUnit类型(因为boolUnit和boolUnit_包含的信息相同)
The text was updated successfully, but these errors were encountered: