| Anonymous | Login | Signup for a new account | 2013-06-20 13:38 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||
| 0005719 | OCaml | OCaml tools (ocaml{lex,yacc,dep,browser}) | public | 2012-08-06 11:27 | 2012-08-06 16:20 | |||
| Reporter | prevosto | |||||||
| Assigned To | doligez | |||||||
| Priority | low | Severity | tweak | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 4.00.0 | |||||||
| Target Version | Fixed in Version | 4.00.1+dev | ||||||
| Summary | 0005719: ocamlyacc generates code that is not warning 33-compliant | |||||||
| Description | ocamlyacc systematically open Parsing in the generated file. However, it also uses fully qualified names in the generated code, so that open Parsing is flagged as useless by warning 33, unless user actions use functions from the Parsing module without prefix. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0007901) doligez (manager) 2012-08-06 16:20 |
This is only true if you override the default "parse_error" function, and it's a bit tricky to resolve without breaking any existing code and without triggering warning 5. Here's what I've done: add "let _ = parse_error;;" right after "open Parsing;;" to silence the warning without removing the open. Fixed in 4.00 and trunk (r 12834 and r 12835). |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-08-06 11:27 | prevosto | New Issue | |
| 2012-08-06 14:16 | doligez | Assigned To | => doligez |
| 2012-08-06 14:16 | doligez | Status | new => assigned |
| 2012-08-06 16:20 | doligez | Note Added: 0007901 | |
| 2012-08-06 16:20 | doligez | Status | assigned => closed |
| 2012-08-06 16:20 | doligez | Resolution | open => fixed |
| 2012-08-06 16:20 | doligez | Fixed in Version | => 4.00.1+dev |
| Copyright © 2000 - 2011 MantisBT Group |