diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-07-28 06:59:58 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-07-28 06:59:58 -0700 |
commit | 56810f54f5925ceb95ffe0f720ef45ac5c2ac7dc (patch) | |
tree | 67043e0135e4aaa8f9bb21387f9cfa7174511307 | |
parent | 48abc4a1143de0924470563c55d3bb9d482103fe (diff) | |
download | txr-56810f54f5925ceb95ffe0f720ef45ac5c2ac7dc.tar.gz txr-56810f54f5925ceb95ffe0f720ef45ac5c2ac7dc.tar.bz2 txr-56810f54f5925ceb95ffe0f720ef45ac5c2ac7dc.zip |
genvim: flag invalid # syntax.
* genvim.txr (txr_error): New match in this category for #
followed by something other than H, S or R. Some characters
other than these are valid after #, but are covered by
explicit matches that occur later.
-rw-r--r-- | genvim.txr | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -109,6 +109,8 @@ syn match txr_numesc "\\x[@hex]\+;\?" contained syn match txr_numesc "\\[@oct]\+;\?" contained syn match txr_regesc "\\[@chesc/sSdDwW()\|.*?+~&%\[\]\-]" contained +syn match txr_error "#[^HSR]"@(if txr-p " contained") + syn match txr_chr "#\\x[@hex]\+"@(if txr-p " contained") syn match txr_chr "#\\o[@oct]\+"@(if txr-p " contained") syn match txr_chr "#\\[^ \t\n@alnum]"@(if txr-p " contained") |