Skip to content
New issue

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

关于语法错误提示信息的问题 #15

Open
feng321654 opened this issue Mar 25, 2024 · 1 comment
Open

关于语法错误提示信息的问题 #15

feng321654 opened this issue Mar 25, 2024 · 1 comment

Comments

@feng321654
Copy link

image
老师好,我想请问一下,我们要怎么根据语法错误的提示信息找出test2.tea中不符合当前语法的地方

@idlebo
Copy link
Collaborator

idlebo commented Mar 25, 2024

syntax error 一般就是 yacc 崩了,可以参照第二个录屏里面讲的方法,把 yacc 的工作过程打印出来,这样可以看到是哪里的规则写错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants