summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>1999-02-07 13:16:37 +0000
committerSimon Tatham <anakin@pobox.com>1999-02-07 13:16:37 +0000
commit0c6d599ec12cfdb9448016ccf82967fcf4c68e9f (patch)
tree66ce951c99a271eff6e5101952dcc577d1bc9cfe
parent959dba8dc71bd6b5e2c7f59eec0fcb20f0d71d8d (diff)
downloadhalibut-0c6d599ec12cfdb9448016ccf82967fcf4c68e9f.zip
halibut-0c6d599ec12cfdb9448016ccf82967fcf4c68e9f.tar.gz
halibut-0c6d599ec12cfdb9448016ccf82967fcf4c68e9f.tar.bz2
halibut-0c6d599ec12cfdb9448016ccf82967fcf4c68e9f.tar.xz
Add support for \S0-type keywords
[originally from svn r26]
-rw-r--r--misc/buttress.sl2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/buttress.sl b/misc/buttress.sl
index 68f08af..13efc03 100644
--- a/misc/buttress.sl
+++ b/misc/buttress.sl
@@ -14,7 +14,7 @@ set_syntax_flags ($1, 8);
define_highlight_rule ("\\\\#.*$", "comment", $1);
define_highlight_rule ("^\\\\c([ \t].*)?$", "string", $1);
define_highlight_rule ("\\\\[\\\\{}]", "keyword0", $1);
-define_highlight_rule ("\\\\[A-Za-tv-z][A-Za-z]*", "keyword0", $1);
+define_highlight_rule ("\\\\[A-Za-tv-z][A-Za-z0-9]*", "keyword0", $1);
define_highlight_rule ("\\\\u[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]",
"keyword0", $1);
define_highlight_rule ("\\\\u[A-Fa-f0-9]?[A-Fa-f0-9]?[A-Fa-f0-9]?[A-Fa-f0-9]",