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

fonctionnement différent de celui écrit dans la documentation #3896

Closed
vicuna opened this issue Nov 29, 2005 · 1 comment
Closed

fonctionnement différent de celui écrit dans la documentation #3896

vicuna opened this issue Nov 29, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Nov 29, 2005

Original bug ID: 3896
Reporter: anonymous
Status: closed (set by @damiendoligez on 2005-11-29T12:42:42Z)
Resolution: not a bug
Priority: normal
Severity: block
Version: 3.09.0
Category: ~DO NOT USE (was: OCaml general)

Bug description

Je viens de télécharger la dernière version d'OCAML pour fedora core 4 et mac os10.
C'est curieux, je ne dépasse pas le deuxième exemple de la documentation. Est ce que la syntaxe a changé ?!?!

exemple:

[henry@banctest ZEN_2.1]$ ocaml
Objective Caml version 3.09.0

    Camlp4 Parsing version 3.09.0

1+2*3;;

Toplevel input:

1+2*3;;

   ^^

Parse error: ';' expected after [str_item] (in [phrase])

1+2*3;

  • : int = 7

let pi = 4.0 *. atan 1.0;;

Toplevel input:

let pi = 4.0 *. atan 1.0;;

                      ^^

Parse error: 'and' or 'in' expected (in [expr])

Additional information

Remarque: la version windows fonctionne correctement (OCamlWinPlus v1.9RC4)

adresse mail: henry@labri.fr

@vicuna
Copy link
Author

vicuna commented Nov 29, 2005

Comment author: @damiendoligez

   Camlp4 Parsing version 3.09.0

C'est pas normal. Vous avez sans doute un alias shell ou un script qui lance
"ocaml calmp4r", et vous travaillez donc en syntaxe revisee.

Si vous voulez essayer les exemples de la doc, vous devez lancer "ocaml" lui-meme,
sans arguments, par exemple avec "/usr/local/bin/ocaml".

@vicuna vicuna closed this as completed Nov 29, 2005
@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