[scintilla] Another ASP-Lexer problem concerning comments.
by Axel Heyne other posts by this author
Nov 7 2006 11:33AM messages near this date
[scintilla] [ scintilla-Feature Requests-1591684 ] Extend SCI_SETFOLDFLAGS to have also coloured background
|
Re: [scintilla] Another ASP-Lexer problem concerning comments.
Hi.
I found another problem in the ASP-lexer.
It belongs to comments.
Please take a look in my sample.
It is my lexer-test file, which i used in past issues also, maybe you
remember it.
New is the part described as "Here is error number 4:".
I'm running 1.71 right now.
<%@ LANGUAGE="VBSCRIPT" %>
<!-- #INCLUDE FILE="INCLUDES/TEST.ASP" -->
<%
'Here is error number 4:
'objXML.loadXML("<?xml version='1.0' encoding='UTF-8'?> <ACTIONRESULTXML/>")
Dim strTest
strTest = "MySample"
%>
<SCRIPT language="JScript">
var strLocal = "FunnyText";
var xmlhttp;
if ("<%=strTest%> " != "MySample")
{
alert("Error");
return;
}
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
//Here was error number 1:
xmlhttp.send("<?xml version='1.0' ?> " + strLocal);
//Here was error number 2:
//strForms+="</nobr> ";
//Here is a new error (3) when it's in a line- or block-comment. Is
in standard 1.62 also!
/*xmlhttp.Send("<?xml version='1.0' ?> " + strLocal);*/
if (xmlhttp.status != 200)
{
alert("XML Send Error:" + xmlhttp.status + " " +
xmlhttp.statustext);
delete xmlhttp;
return;
}
alert("Sample alert > " + strLocal + "<.\nSecond line.");
// Sample comment.
alert("Another stupid alert");
</SCRIPT>
<HTML>
<HEAD>
<TITLE> Testpage</TITLE>
</HEAD>
<BODY>
<TABLE>
<TD > <%=strTest%></TD>
</TABLE>
</BODY>
</HTML>
Regards,
Axel
Thread:
Axel Heyne
Neil Hodgson
Iago Rubio
|