alex / alex/rply

Lexing error being thrown causes Segmentation Fault

Aberta
#14 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
391
Forks
62
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.