Compare commits
5 Commits
dde5d8e797
...
facfb17478
Author | SHA1 | Date |
---|---|---|
Vadim Yanitskiy | facfb17478 | |
Vadim Yanitskiy | fb46c71591 | |
Vadim Yanitskiy | 08c3e2b36e | |
Vadim Yanitskiy | d0291c34f2 | |
Vadim Yanitskiy | f20cbaa0b4 |
|
@ -19,6 +19,7 @@ catch
|
||||||
char
|
char
|
||||||
char
|
char
|
||||||
char2int
|
char2int
|
||||||
|
char2oct
|
||||||
charstring
|
charstring
|
||||||
check
|
check
|
||||||
clear
|
clear
|
||||||
|
@ -29,6 +30,7 @@ const
|
||||||
control
|
control
|
||||||
create
|
create
|
||||||
deactivate
|
deactivate
|
||||||
|
decvalue
|
||||||
default
|
default
|
||||||
disconnect
|
disconnect
|
||||||
display
|
display
|
||||||
|
@ -36,6 +38,8 @@ do
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
encode
|
encode
|
||||||
|
encvalue
|
||||||
|
enum2int
|
||||||
enumerated
|
enumerated
|
||||||
error
|
error
|
||||||
except
|
except
|
||||||
|
@ -60,6 +64,7 @@ hex2int
|
||||||
hex2oct
|
hex2oct
|
||||||
hex2str
|
hex2str
|
||||||
hexstring
|
hexstring
|
||||||
|
hostId
|
||||||
if
|
if
|
||||||
ifpresent
|
ifpresent
|
||||||
import
|
import
|
||||||
|
@ -69,6 +74,7 @@ infinity
|
||||||
inout
|
inout
|
||||||
int2bit
|
int2bit
|
||||||
int2char
|
int2char
|
||||||
|
int2enum
|
||||||
int2float
|
int2float
|
||||||
int2hex
|
int2hex
|
||||||
int2oct
|
int2oct
|
||||||
|
@ -76,16 +82,20 @@ int2str
|
||||||
int2unichar
|
int2unichar
|
||||||
integer
|
integer
|
||||||
interleave
|
interleave
|
||||||
|
isbound
|
||||||
ischosen
|
ischosen
|
||||||
ispresent
|
ispresent
|
||||||
istemplatekind
|
istemplatekind
|
||||||
|
isvalue
|
||||||
label
|
label
|
||||||
language
|
language
|
||||||
length
|
length
|
||||||
lengthof
|
lengthof
|
||||||
log
|
log
|
||||||
|
log2str
|
||||||
map
|
map
|
||||||
match
|
match
|
||||||
|
decmatch
|
||||||
message
|
message
|
||||||
mixed
|
mixed
|
||||||
mod
|
mod
|
||||||
|
@ -101,6 +111,8 @@ nowait
|
||||||
null
|
null
|
||||||
objid
|
objid
|
||||||
oct2bit
|
oct2bit
|
||||||
|
oct2char
|
||||||
|
oct2hex
|
||||||
oct2int
|
oct2int
|
||||||
oct2str
|
oct2str
|
||||||
octetstring
|
octetstring
|
||||||
|
@ -125,6 +137,7 @@ recursive
|
||||||
regexp
|
regexp
|
||||||
rem
|
rem
|
||||||
repeat
|
repeat
|
||||||
|
replace
|
||||||
reply
|
reply
|
||||||
return
|
return
|
||||||
rnd
|
rnd
|
||||||
|
@ -139,6 +152,7 @@ signature
|
||||||
sizeof
|
sizeof
|
||||||
start
|
start
|
||||||
stop
|
stop
|
||||||
|
str2float
|
||||||
str2int
|
str2int
|
||||||
str2oct
|
str2oct
|
||||||
subset
|
subset
|
||||||
|
@ -147,6 +161,7 @@ superset
|
||||||
system
|
system
|
||||||
template
|
template
|
||||||
testcase
|
testcase
|
||||||
|
testcasename
|
||||||
timeout
|
timeout
|
||||||
timer
|
timer
|
||||||
to
|
to
|
||||||
|
|
|
@ -80,7 +80,7 @@ syn keyword ttcnAttrib with display encode extension variant optional
|
||||||
|
|
||||||
" Operators
|
" Operators
|
||||||
syn keyword ttcnOper mod rem not and or xor not4b and4b or4b xor4b
|
syn keyword ttcnOper mod rem not and or xor not4b and4b or4b xor4b
|
||||||
syn keyword ttcnOper complement pattern match valueof subset superset permutation
|
syn keyword ttcnOper complement pattern match decmatch valueof subset superset permutation
|
||||||
syn match ttcnOper "[-+*/?]"
|
syn match ttcnOper "[-+*/?]"
|
||||||
syn match ttcnOper "[<>]"
|
syn match ttcnOper "[<>]"
|
||||||
syn match ttcnError "="
|
syn match ttcnError "="
|
||||||
|
@ -145,11 +145,11 @@ syn keyword ttcnFunc int2str int2float float2int char2int char2oct
|
||||||
syn keyword ttcnFunc unichar2int bit2int bit2hex bit2oct bit2str
|
syn keyword ttcnFunc unichar2int bit2int bit2hex bit2oct bit2str
|
||||||
syn keyword ttcnFunc hex2int hex2bit hex2oct hex2str
|
syn keyword ttcnFunc hex2int hex2bit hex2oct hex2str
|
||||||
syn keyword ttcnFunc oct2int oct2bit oct2hex oct2str oct2char
|
syn keyword ttcnFunc oct2int oct2bit oct2hex oct2str oct2char
|
||||||
syn keyword ttcnFunc str2int str2oct str2float enum2int
|
syn keyword ttcnFunc str2int str2oct str2float enum2int int2enum
|
||||||
syn keyword ttcnFunc lengthof sizeof ispresent ischosen
|
syn keyword ttcnFunc lengthof sizeof ispresent ischosen
|
||||||
syn keyword ttcnFunc isvalue regexp substr replace encvalue
|
syn keyword ttcnFunc isvalue regexp substr replace encvalue
|
||||||
syn keyword ttcnFunc decvalue rnd isbound log2str
|
syn keyword ttcnFunc decvalue rnd isbound log2str
|
||||||
syn keyword ttcnFunc istemplatekind
|
syn keyword ttcnFunc istemplatekind testcasename hostId
|
||||||
|
|
||||||
" Various keywords
|
" Various keywords
|
||||||
syn keyword ttcnKeyw in out inout any all sender to value modifies
|
syn keyword ttcnKeyw in out inout any all sender to value modifies
|
||||||
|
@ -169,10 +169,13 @@ syn match ttcnNumber "-infinity\>"
|
||||||
syn keyword ttcnBool true false
|
syn keyword ttcnBool true false
|
||||||
syn keyword ttcnConst omit null pass fail inconc none error
|
syn keyword ttcnConst omit null pass fail inconc none error
|
||||||
syn region ttcnString start=/"/ end=/"/ skip=/\\"/ oneline
|
syn region ttcnString start=/"/ end=/"/ skip=/\\"/ oneline
|
||||||
syn match ttcnString /'[01]*'B/
|
" In binary strings strings '?' matches one bit
|
||||||
syn match ttcnString /'\x*'H/
|
syn match ttcnString /'[01?]*'B/
|
||||||
syn match ttcnString /'\(\x\x\)*'O/
|
" In hexstrings '?' matches one nibble (4 bits)
|
||||||
syn match ttcnError /'\x\(\x\x\)*'O/
|
syn match ttcnString /'\(\x\|?\)*'H/
|
||||||
|
" In octetstings '?' matches one octet (8 bits)
|
||||||
|
syn match ttcnString /'\(\(\x\x\)\|?\)*'O/
|
||||||
|
syn match ttcnError /'\x\(\(\x\x\)\|?\)*'O/
|
||||||
|
|
||||||
" Comments
|
" Comments
|
||||||
if version < 700
|
if version < 700
|
||||||
|
|
Loading…
Reference in New Issue