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

-o option in ocamllex broken #8332

Closed
vicuna opened this issue Oct 22, 2003 · 2 comments
Closed

-o option in ocamllex broken #8332

vicuna opened this issue Oct 22, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 22, 2003

Original bug ID: 1888
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: James J. Leifer
Version: 3.07
OS: linux
Submission from: www-rocqbis.inria.fr (192.93.2.12)

Salut,

The -o option in ocamllex has no effect, contrary to the doc.

It looks like in lex/main.ml the line

"-o", Arg.String (fun x -> source_name := Some x),

should read

"-o", Arg.String (fun x -> output_name := Some x),
@vicuna
Copy link
Author

vicuna commented Nov 6, 2003

Comment author: administrator

Full_Name: James J. Leifer

It looks like in lex/main.ml the line

"-o", Arg.String (fun x -> source_name := Some x),

should read

"-o", Arg.String (fun x -> output_name := Some x),

That's perfectly right. Thanks for spotting it. The bug is fixed
in the CVS version.

-- Damien

@vicuna
Copy link
Author

vicuna commented Nov 6, 2003

Comment author: administrator

fixed DD 2003-11-06

@vicuna vicuna closed this as completed Nov 6, 2003
@vicuna vicuna mentioned this issue Mar 14, 2019
@vicuna vicuna added the bug label Mar 19, 2019
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

1 participant