diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-19 23:36:07 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-11-19 23:36:07 +0100 |
commit | d4f8fb3efcb60cc2cd39ecb7ca65706db4c7b6ad (patch) | |
tree | 311722b240136da481c7445df4a1fa3ec7325e58 /lib/lexers/make.tes | |
parent | 8f20c809292b8318b921e611b1ec3811f757dc11 (diff) | |
download | sciteco-d4f8fb3efcb60cc2cd39ecb7ca65706db4c7b6ad.tar.gz |
added first draft of new modular lexer system
Diffstat (limited to 'lib/lexers/make.tes')
-rw-r--r-- | lib/lexers/make.tes | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/lexers/make.tes b/lib/lexers/make.tes new file mode 100644 index 0000000..a841f7d --- /dev/null +++ b/lib/lexers/make.tes @@ -0,0 +1,19 @@ +! Makefile Lexing ! + +@[lexer.test.make]{ + [_ :S[makefile,.mak] ]_ +} + +@[lexer.set.make]{ + ESSETLEXER,SCLEX_MAKEFILE + :M[color.comment],1M[color.set] + :M[color.preproc],2M[color.set] + :M[color.variable],3M[color.set] + :M[color.operator],4M[color.set] + :M[color.target],5M[color.set] + :M[color.error],6M[color.set] +} + +@:[lexer.auto]{ + :M[lexer.test.make]"S Q.fEB :M[lexer.set.make] Oend ' +} |