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 documented grammar doesn't mention that "mod" is infix #8069

Closed
vicuna opened this issue Mar 17, 2003 · 2 comments
Closed

The documented grammar doesn't mention that "mod" is infix #8069

vicuna opened this issue Mar 17, 2003 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 17, 2003

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

Bug description

I think "mod" should included as a case for the "infix-op" grammar
production in

http://caml.inria.fr/ocaml/htmlman/manual015.html

and infix-op should be moved to manual011.html and the "operator-name"
production should be rewritten to

operator-name ::= prefix-symbol | infix-op

If you don't want to redefine operator-name, you'll have to add "mod"
to the list of special cases for operator-name too, so "(mod)" is then
a valid expression.

Tim Freeman tim@fungible.com
Which is worse: ignorance or apathy? Who knows? Who cares?
GPG public key fingerprint ECDF 46F8 3B80 BB9E 575D 7180 76DF FE00 34B1 5C78

@vicuna
Copy link
Author

vicuna commented Mar 31, 2003

Comment author: administrator

I think "mod" should included as a case for the "infix-op" grammar
production in

Thanks for your bug report. I have implemented the changes you
suggest, not only for mod, but also for land, lor, lxor, lsl, lsr, asr,
and :=.

-- Damien

@vicuna
Copy link
Author

vicuna commented Mar 31, 2003

Comment author: administrator

Fixed by DD 2003-03-31

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