diff options
author | jistone <jistone> | 2006-01-16 23:40:50 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-01-16 23:40:50 +0000 |
commit | 45c2b487202a3455db7cc86f108bfe2fe54677ef (patch) | |
tree | ce7eea7a4fbb27cd347bb03e8e3312be26207ba8 /vim | |
parent | f903d01cf2ace79ec2f9a046e8072d0095b4928b (diff) | |
download | systemtap-steved-45c2b487202a3455db7cc86f108bfe2fe54677ef.tar.gz systemtap-steved-45c2b487202a3455db7cc86f108bfe2fe54677ef.tar.xz systemtap-steved-45c2b487202a3455db7cc86f108bfe2fe54677ef.zip |
2006-01-16 Josh Stone <joshua.i.stone@intel.com>
PR 2140
* translate.cxx (mapvar::del): Add ability to delete an indexed stat
from (p)maps.
(delete_statement_operand_visitor::visit_symbol): Add ability to
delete entire pmaps and scalars.
(delete_statement_operand_tmp_visitor): Add a special tmpvar visitor
to parallel delete_statement_operand_visitor.
(c_tmpcounter::visit_delete_statement): Invoke the new visitor.
* testsuite/buildok/delete.stp: Also test scalar deletes.
* vim/syntax/stap.vim: Recognize 'delete' operator.
2006-01-16 Josh Stone <joshua.i.stone@intel.com>
* stat.c (_stp_stat_clear): add a function that just
clears a Stat, so we can use delete in the translator.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/syntax/stap.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/syntax/stap.vim b/vim/syntax/stap.vim index 39947179..86c7d260 100644 --- a/vim/syntax/stap.vim +++ b/vim/syntax/stap.vim @@ -11,7 +11,7 @@ elseif exists("b:current_syntax") finish endif -syn keyword stapStatement contained break continue return next containedin=stapBlock +syn keyword stapStatement contained break continue return next delete containedin=stapBlock syn keyword stapRepeat contained while for foreach in containedin=stapBlock syn keyword stapConditional contained if else containedin=stapBlock syn keyword stapDeclaration global probe function |