Navigation Menu

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

the lexer should not allow consecutive literal numbers #6816

Closed
vicuna opened this issue Mar 16, 2015 · 1 comment
Closed

the lexer should not allow consecutive literal numbers #6816

vicuna opened this issue Mar 16, 2015 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 16, 2015

Original bug ID: 6816
Reporter: @hhugo
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2016-12-07T10:47:32Z)
Resolution: fixed
Priority: normal
Severity: minor
Target version: later
Fixed in version: 4.03.0+dev / +beta1
Category: ~DO NOT USE (was: OCaml general)

Bug description

I don't think the lexer should accept the following:

(fun x y -> x,y) 0O56789;;

(fun x y z t a b -> x,y,z,t,a,b) 0b0l0l0O10l0O6789l0e2;;

@vicuna
Copy link
Author

vicuna commented Apr 12, 2015

Comment author: @gasche

Fixed in trunk using Hugo's patch:

#155

Thanks!

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

No branches or pull requests

2 participants