Stratego/XT JIRA  History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: STR-540
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Martin Bravenboer
Reporter: Martin Bravenboer
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Stratego/XT

sglri does not handle \r and \r\n in error reporting.

Created: 2006-03-20 15:45   Updated: 2008-03-31 20:46
Component/s: asfix-tools
Affects Version/s: 0.16 (Stratego Core Compiler)
Fix Version/s: 0.17

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Reported by Eelco.

If \r is used, the entire source file is reported.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order:
Martin Bravenboer [2006-07-01 23:59]
The get-lines strategy that is used for splitting a file now supports \r, \r\n and \n. Unfortunately, sglr does not support \r line separators, but this should be reported to sglr itself.

OSX uses \n these days, so I think supporting \r as a terminator is not critical anyway.