alex / alex/rply

Lexing error being thrown causes Segmentation Fault

Abierto
#14 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
391
Forks
62
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.