| Anonymous | Login | Signup for a new account | 2013-06-19 07:07 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 | |||
| 0000017 | OCaml | OCaml general | public | 2000-01-08 13:57 | 2000-01-13 19:24 | |||
| Reporter | administrator | |||||||
| Assigned To | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | ||||||||
| Target Version | Fixed in Version | |||||||
| Summary | 0000017: ocamlyacc loops | |||||||
| 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 | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0000292) administrator (administrator) 2000-01-13 19:20 |
> 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 > ------------- I fixed it the easy way: ocamlyacc will now signal a syntax error at the end of the %type line. -- Damien |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2005-11-18 10:13 | administrator | New Issue | |
| Copyright © 2000 - 2011 MantisBT Group |