summaryrefslogtreecommitdiffstats
path: root/txr.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-22 04:13:55 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-22 04:13:55 -0800
commit5eea3de51c979f554ce868d101f6503f982169cc (patch)
treec1629101c0e974636c1a0d9e8c52fc935e99983f /txr.vim
parent1e2b6354bea11c067745a456ed372fbaa5245ec2 (diff)
downloadtxr-5eea3de51c979f554ce868d101f6503f982169cc.tar.gz
txr-5eea3de51c979f554ce868d101f6503f982169cc.tar.bz2
txr-5eea3de51c979f554ce868d101f6503f982169cc.zip
* eval.c (del_s): New symbol variable.
(eval_error): nostatic added to suppress a g++ warning. (dwim_loc): Takes new value as the original unevaluated form so it can control evaluation. Support for del operator added. (op_modplace): Bugfixes: new value form was being unconditionally evaluated and out of order w.r.t. other forms. Now there is left to right order. The form is evaluated later, since for most operators it is on the right, with the exception of push. dwim places can now optionally control the evaluation of newform. del operator supported in gethash case as a special case. error case added for del: if it's not handled in gethash or dwim_loc, it is an error. (eval_init): del_s initialized, and del operator added to table. * txr.vim: syntax highlighting for del. * txr.1: Documented del.
Diffstat (limited to 'txr.vim')
-rw-r--r--txr.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/txr.vim b/txr.vim
index 928b5b66..2a157c71 100644
--- a/txr.vim
+++ b/txr.vim
@@ -27,7 +27,7 @@ syn keyword txr_keyword contained defex throw deffilter filter eof eol do
syn keyword txl_keyword contained progn prog1 let syn let* lambda call fun
syn keyword txl_keyword contained cond if and or dwim op catch
-syn keyword txl_keyword contained defvar defun inc dec set push pop flip
+syn keyword txl_keyword contained defvar defun inc dec set push pop flip del
syn keyword txl_keyword contained for for* dohash unwind-protect block
syn keyword txl_keyword contained return return-from gen delay
syn keyword txl_keyword contained each each* collect-each collect-each*