You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 5719 Reporter: prevosto Assigned to:@damiendoligez Status: closed (set by @damiendoligez on 2012-08-06T14:20:17Z) Resolution: fixed Priority: low Severity: tweak Version: 4.00.0 Fixed in version: 4.00.1+dev Category: tools (ocaml{lex,yacc,dep,debug,...}) Monitored by:@yakobowski
Bug 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.
The text was updated successfully, but these errors were encountered:
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.
Original bug ID: 5719
Reporter: prevosto
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2012-08-06T14:20:17Z)
Resolution: fixed
Priority: low
Severity: tweak
Version: 4.00.0
Fixed in version: 4.00.1+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: @yakobowski
Bug 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.
The text was updated successfully, but these errors were encountered: