From 45c2b487202a3455db7cc86f108bfe2fe54677ef Mon Sep 17 00:00:00 2001 From: jistone Date: Mon, 16 Jan 2006 23:40:50 +0000 Subject: 2006-01-16 Josh Stone 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 * stat.c (_stp_stat_clear): add a function that just clears a Stat, so we can use delete in the translator. --- vim/syntax/stap.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/syntax') 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 -- cgit