alex / alex/rply

Lexing error being thrown causes Segmentation Fault

未关闭
#14 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
391
派生
62
PR 合并指标
30 天内没有已合并 PR

描述

I have a simple calculator written in RPython. If a lexing error is thrown, the program segfaults. It works fine under CPython and PyPy, however. Furthermore, if after a valid token, there is an invalid token, the invalid token and everything that follows it is completely ignored, rather than throwing a ParsingError.

The problem only occurs with RPython. I have the latest checkout(i.e. I just updated it right now).

Example:

![screenshot from 2013-11-22 15 14 10](https://f.cloud.github.com/assets/1690697/1604313/1d5ab476-53bb-11e3-9c90-3268b2bafb31.png)

I am on Ubuntu Precise.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。