Restructure things more simply

This commit is contained in:
wycats
2010-12-29 18:21:43 -08:00
parent 9e77799e87
commit bf6c74aa83
14 changed files with 39 additions and 65 deletions
+1
View File
@@ -10,6 +10,7 @@
<mu>"{{#" { return 'OPEN_BLOCK'; }
<mu>"{{/" { return 'OPEN_ENDBLOCK'; }
<mu>"{{^" { return 'OPEN_INVERSE'; }
<mu>"{{"\s*"else" { return 'OPEN_INVERSE'; }
<mu>"{{{" { return 'OPEN_UNESCAPED'; }
<mu>"{{&" { return 'OPEN_UNESCAPED'; }
<mu>"{{!".*?"}}" { yytext = yytext.substr(3,yyleng-5); this.begin("INITIAL"); return 'COMMENT'; }