aboutsummaryrefslogtreecommitdiff
path: root/lua/lexers/icon.lua
diff options
context:
space:
mode:
authorstutonk <xealblade@gmail.com>2017-03-19 01:13:35 -0400
committerstutonk <xealblade@gmail.com>2017-03-19 01:13:35 -0400
commit3cab10e3a5d2363352be8256e9872bbc08cbbce7 (patch)
tree9754599f191673f4f08ed75c8e392cdee3b09a23 /lua/lexers/icon.lua
parentd7f6000d98d43d3139bfb0caefaff8f51f190353 (diff)
downloadvis-3cab10e3a5d2363352be8256e9872bbc08cbbce7.tar.gz
vis-3cab10e3a5d2363352be8256e9872bbc08cbbce7.tar.xz
Fix errors and add ANS Forth 2012 keywords
Added all ANS Forth 2012 keywords as defined at http://lars.nocrew.org/forth2012/core.html and removed keywords that were not part of the standard. This necessitated rewriting most of the Strings rules as well as removing some rules not consistent with the standard. Only the s\" form should allow escaping. The list of characters which may appear as part of a keyword has also been expanded where appropriate. Because '.' is a keyword as well as the first chatacter in a string pattern, strings must now be given parsing precedence over keywords to ensure proper highlighting. A few errors were also fixed such as moving the true (which should make keywords case-insensitive) within the word_match function's closing paren. Parens have been removed from the operator list and moved to their correct place as the delimiters for block comments.
Diffstat (limited to 'lua/lexers/icon.lua')
0 files changed, 0 insertions, 0 deletions