Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#154] Return code for ml-ulex when there is an error

Date:
2016-04-05 12:31
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
None
Operating System:
Generic Unix
Component:
ML-Ulex
Resolution:
Fixed
Severity:
Minor
OS Version:
SML/NJ Version:
110.79
Keywords:
URL:
Transcript (of reproduction):
<jhr@valhalla> ml-ulex gd.lex [ml-ulex: parsing] [gd.lex:51.0] Syntax error: unclosed string [ml-ulex: DFA gen] 77 states in full DFA [ml-ulex: SML gen] <jhr@valhalla> echo $? 0
Source (for reproduction):
Summary:
Return code for ml-ulex when there is an error

Detailed description
ml-ulex does not return an error status when there is
a syntax error in the input. In fact, it even generates
a lexer in that case!
Submitted via web form by John Reppy <jhr@cs.uchicago.edu>

Comments:

Message  ↓
Date: 2016-04-07 12:48
Sender: John Reppy

Fixed for 110.80

Attached Files:

Changes

Field Old Value Date By
status_idOpen2016-04-07 12:48jhr
close_dateNone2016-04-07 12:48jhr
ResolutionNone2016-04-07 12:48jhr
assigned_tonone2016-04-05 13:05jhr
detailsml-ulex does not return an error status when there is a syntax error in the input. In fact, it even generates a lexer in that case! Submitted via web form by John Reppy <jhr@cs.uchicago.edu> 2016-04-05 13:05jhr
Transcript (of reproduction)<jhr@valhalla> ml-ulex gd.lex [ml-ulex: parsing] [gd.lex:51.0] Syntax error: unclosed string [ml-ulex: DFA gen] 77 states in full DFA [ml-ulex: SML gen] <jhr@valhalla> echo $? 0 2016-04-05 13:05jhr