not really well done, since it's only comments that should lex the %> and <%
| 222 | |
| 223 | // not really well done, since it's only comments that should lex the %> and <% |
| 224 | static inline bool isCommentASPState(int state) { |
| 225 | bool bResult; |
| 226 | |
| 227 | switch (state) { |
| 228 | case SCE_HJ_COMMENT: |
| 229 | case SCE_HJ_COMMENTLINE: |
| 230 | case SCE_HJ_COMMENTDOC: |
| 231 | case SCE_HB_COMMENTLINE: |
| 232 | case SCE_HP_COMMENTLINE: |
| 233 | case SCE_HPHP_COMMENT: |
| 234 | case SCE_HPHP_COMMENTLINE: |
| 235 | bResult = true; |
| 236 | break; |
| 237 | default : |
| 238 | bResult = false; |
| 239 | break; |
| 240 | } |
| 241 | return bResult; |
| 242 | } |
| 243 | |
| 244 | static void classifyAttribHTML(unsigned int start, unsigned int end, WordList &keywords, Accessor &styler) { |
| 245 | bool wordIsNumber = IsNumber(start, styler); |
no outgoing calls
no test coverage detected