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

ocamlopt doesn't like underscores in numbers #7805

Closed
vicuna opened this issue Oct 25, 2002 · 2 comments
Closed

ocamlopt doesn't like underscores in numbers #7805

vicuna opened this issue Oct 25, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 25, 2002

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

Bug description

info below... regards henri

test.ml:
let speed_of_light = 100_000_000.0

[henri@ffnet: ~/work/caml] ocamlc test.ml
[henri@ffnet: ~/work/caml] ocamlopt test.ml
/tmp/camlasm7595e7.s: Assembler messages:
/tmp/camlasm7595e7.s:31: Error: Rest of line ignored. First ignored
character
is `_'.
Assembler error, input left in file /tmp/camlasm7595e7.s

[henri@ffnet: ~/work/caml] uname -a
Linux ffnet.epfl.ch 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
[henri@ffnet: ~/work/caml] ocamlopt -v
The Objective Caml native-code compiler, version 3.06
Standard library directory: /usr/lib/ocaml

@vicuna
Copy link
Author

vicuna commented Oct 26, 2002

Comment author: administrator

Fixed 2002/10/26 by XL

@vicuna vicuna closed this as completed Oct 26, 2002
@vicuna
Copy link
Author

vicuna commented Oct 28, 2002

Comment author: administrator

test.ml:
let speed_of_light = 100_000_000.0

[henri@ffnet: ~/work/caml] ocamlc test.ml
[henri@ffnet: ~/work/caml] ocamlopt test.ml
/tmp/camlasm7595e7.s: Assembler messages:
/tmp/camlasm7595e7.s:31: Error: Rest of line ignored. First ignored
character is `_'.
Assembler error, input left in file /tmp/camlasm7595e7.s

Well spotted. The bug is fixed in the current CVS development
version. Thanks for the report.

  • Xavier Leroy

@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