diff options
| author | nyamatongwe <unknown> | 2005-10-08 00:50:32 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2005-10-08 00:50:32 +0000 | 
| commit | e336f9d17ea3f29180e12d6787dc9a0ea14d14ed (patch) | |
| tree | 36b8c7133118ff715682eac184cabfdb03107e97 | |
| parent | 086aaabc2cabf030366d4bb2eaf3fa332951b50d (diff) | |
| download | scintilla-mirror-e336f9d17ea3f29180e12d6787dc9a0ea14d14ed.tar.gz | |
Terminate ASP scripting when a ?> is seen outside a string. This allows use
with the Kid template language.
| -rw-r--r-- | src/LexHTML.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 616b3acfd..8feaea769 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -751,7 +751,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty  		              || (inScriptType == eNonHtmlScriptPreProc)) && (  		                 ((scriptLanguage == eScriptPHP) && (ch == '?') && !isPHPStringState(state) && (state != SCE_HPHP_COMMENT)) ||  		                 ((scriptLanguage != eScriptNone) && !isStringState(state) && -		                  (ch == '%')) +		                  ((ch == '%') || (ch == '?')))  		             ) && (chNext == '>')) ||  		         ((scriptLanguage == eScriptSGML) && (ch == '>') && (state != SCE_H_SGML_COMMENT))) {  			if (state == SCE_H_ASPAT) { | 
