如何解决 Splint 中的解析错误

发布于 2024-09-15 17:54:26 字数 388 浏览 3 评论 0原文

Splint 在发现解析错误后不会继续检查。我也尝试过 +trytorecover 选项,但没有改变。

请让我知道如何使用 +trytorecover 使 Splint 在解析错误后尝试继续。

这是我收到的,

161: splint +trytorecover spy.c
Splint 3.1.1 --- 19 Jul 2006

spy.c:41:12: Parse Error: Non-function declaration: byte_4 :
                int. Attempting to continue.
spy.c:41:12: Cannot recover from parse error.
*** Cannot continue.

Splint is not continuing it's checking after finding parse errors. I've tried with +trytorecover option also but no change.

Please let me know on how to use +trytorecover to make Splint attempt to continue after a parse error.

Here is what I'm receiving,

161: splint +trytorecover spy.c
Splint 3.1.1 --- 19 Jul 2006

spy.c:41:12: Parse Error: Non-function declaration: byte_4 :
                int. Attempting to continue.
spy.c:41:12: Cannot recover from parse error.
*** Cannot continue.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文