PR# 15601 Arrow shows wrong position for syntax error in external with % escape sequences

Problem Report Summary
Submitter: prestoat2000
Category: Compiler
Priority: Medium
Date: 2009/04/10
Class: Bug
Severity: Non-critical
Number: 15601
Release: 6.4.78090
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.14) Gecko/20080520 Firefox/2.0.0.14 Solaris 10 on SPARC
Synopsis: Arrow shows wrong position for syntax error in external with % escape sequences

Description
When using the batch compiler, the arrow drawn to show the position of an error
inside an external shows the wrong position if there are any % escape sequences
prior to the position of the error.  This is rather confusing.
To Reproduce
Compile with attached class, using "ec" (command line compiler).  
The arrow showing the position of the syntax error shows the correct location
of the error for `weasel1', which does not have any % escape sequences before
the error position.  The arrow points to the wrong position for the syntax
errors in externals `weasel2', `weasel3' and `weasel4'.
Problem Report Interactions
From:prestoat2000    Date:2009/04/10    Download   
Attachments for problem report #15601

Attachment: test.e     Size:401