Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005189OCamlOCaml generalpublic2010-12-08 09:462012-09-19 14:28
Reporterkim 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version3.12.1+dev 
Target VersionFixed in Version 
Summary0005189: Exceptions raised by Genlex token streams should be more meaningful
DescriptionWhenever the lexed stream contains invalid character tokens,
invalid strings or invalid escape sequences, Stream.next and Stream.peek raise
'Stream.Error("")'
The message attached to the exception should be more meaningful to allow the programmer to distinguish between the cases (invalid character, invalid string,...)

Additional InformationI use Genlex from within ocamlbuild to fetch files that are INCLUDEd (with the pa_macro extension) and add them dynamically as dependencies. The Genlex generated lexer fails on type expressions with variables, e.g. 'a t since it detects 'a as malformed char expression.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2010-12-08 09:46 kim New Issue
2011-05-17 17:36 doligez Status new => acknowledged
2012-07-10 17:18 doligez Target Version => 4.01.0+dev
2012-07-31 13:36 doligez Target Version 4.01.0+dev => 4.00.1+dev
2012-09-19 14:28 doligez Severity minor => feature
2012-09-19 14:28 doligez Target Version 4.00.1+dev =>


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker