aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexer.tes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lexer.tes')
-rw-r--r--lib/lexer.tes13
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/lexer.tes b/lib/lexer.tes
index bf6b475..309c752 100644
--- a/lib/lexer.tes
+++ b/lib/lexer.tes
@@ -7,20 +7,17 @@
[* EQ.h :SQ_ ]*
}
-! Match Q-Reg "_" against end of current doc's file name !
-@[lexer.checkname]{
- [* EQ* ZJ I H:SQ_ ]*
-}
-
@[lexer.auto]{
! Set up brace lightning !
:M[color.bracelight],34M[color.set]
:M[color.error],35M[color.set]
+ [_
}
! Automatically mung all the lexers and add them to "lexer.auto" !
[*
- EQ.[lexers] ENQ[$SCITECOPATH]/lexers/*.tes J
+ EQ.[lexers]
+ [_ 1ENQ[$SCITECOPATH]/lexers/*.tes ]_ J
<:L;R
0X.[filename] 4R .U.p <-A-^^/"= 1; ':R;> .,Q.pX.[name]
EMQ.[filename]
@@ -31,4 +28,6 @@
]*
! append "end" label to "lexer.auto" !
-:[lexer.auto]!end!
+:@[lexer.auto]{
+ !end! ]_
+}