From d0291c34f28e4a624a852c9df8b89101b23d1b7c Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Tue, 1 Jun 2021 01:13:06 +0200 Subject: [PATCH] {syntax,dicts}: add missing 'testcasename' and 'hostId' functions --- dicts/ttcn.dict | 2 ++ syntax/ttcn.vim | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dicts/ttcn.dict b/dicts/ttcn.dict index 2b4ad38..749e7da 100644 --- a/dicts/ttcn.dict +++ b/dicts/ttcn.dict @@ -60,6 +60,7 @@ hex2int hex2oct hex2str hexstring +hostId if ifpresent import @@ -148,6 +149,7 @@ superset system template testcase +testcasename timeout timer to diff --git a/syntax/ttcn.vim b/syntax/ttcn.vim index d478e79..cf672ae 100644 --- a/syntax/ttcn.vim +++ b/syntax/ttcn.vim @@ -149,7 +149,7 @@ syn keyword ttcnFunc str2int str2oct str2float enum2int syn keyword ttcnFunc lengthof sizeof ispresent ischosen syn keyword ttcnFunc isvalue regexp substr replace encvalue syn keyword ttcnFunc decvalue rnd isbound log2str -syn keyword ttcnFunc istemplatekind +syn keyword ttcnFunc istemplatekind testcasename hostId " Various keywords syn keyword ttcnKeyw in out inout any all sender to value modifies