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

Problem: overflowing integer literals are parsed as instructions #300

Open
yrashk opened this issue Jun 7, 2017 · 0 comments
Open

Problem: overflowing integer literals are parsed as instructions #300

yrashk opened this issue Jun 7, 2017 · 0 comments

Comments

@yrashk
Copy link
Contributor

yrashk commented Jun 7, 2017

This is a follow up issue for #278

PumpkinDB> 300u8.
Error: "Unknown instruction: 300u8" 0x06853330307538 0x02
PumpkinDB> 200i8.
Error: "Unknown instruction: 200i8" 0x06853230306938 0x02

Proposed solution: capture an error and don't backtrack so the overflowing integers are recognized as an error instead.

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

No branches or pull requests

1 participant