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

non-uniform error messages from ocamllex #4107

Closed
vicuna opened this issue Sep 9, 2006 · 1 comment
Closed

non-uniform error messages from ocamllex #4107

vicuna opened this issue Sep 9, 2006 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 9, 2006

Original bug ID: 4107
Reporter: nobrowser
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2006-09-12T10:39:29Z)
Resolution: fixed
Priority: normal
Severity: tweak
Version: 3.09.2
Category: ~DO NOT USE (was: OCaml general)

Bug description

Suppose I make a trivial typo in a lexer spec. When I "make", I get:

ocamllex lexer.mll
File "lexer.mll", line 84, character 10: syntax error.

All is great, the emacs fruit salad is on full display :-) But now let's make a more sophisticated error:

ocamllex lexer.mll
Reference to unbound regexp name `uppecase' at char 3458

It would help emacs (and other IDEs such as eclipse, I assume) if this message was of the form

File "..", line .., character ..:

as well.

Peace be with the Great Camel.

@vicuna
Copy link
Author

vicuna commented Sep 12, 2006

Comment author: @damiendoligez

fixed for 3.10

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