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: 17 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
I have just found a bug in ocamlyacc which makes it loop
forever while eating up memory. The following short file
demonstrates this:
file: foo.mly
%type < int
> t
The intention was to split up somewhat longer declarations
over several lines for readability. Obviously, ocamlyacc
cannot handle multi-line type declarations.
A workaround is to declare the type separately elsewhere
and then refer to the corresponding name in the type
declaration for the parser entry point.
Best regards,
Markus Mottl
The text was updated successfully, but these errors were encountered:
Original bug ID: 17
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Markus Mottl
Version: 2.99
OS: SunOS 5.6
Submission from: alford.dai.ed.ac.uk (129.215.25.74)
Hello,
I have just found a bug in ocamlyacc which makes it loop
forever while eating up memory. The following short file
demonstrates this:
file: foo.mly
%type < int
> t
The intention was to split up somewhat longer declarations
over several lines for readability. Obviously, ocamlyacc
cannot handle multi-line type declarations.
A workaround is to declare the type separately elsewhere
and then refer to the corresponding name in the type
declaration for the parser entry point.
Best regards,
Markus Mottl
The text was updated successfully, but these errors were encountered: