*highlight: Optimization: compress code handling MULTI_FUNC_DEF

This commit is contained in:
Sebastian Gniazdowski 2016-10-25 17:44:51 +02:00
parent bd6e44859c
commit 8996f4c281

View file

@ -531,10 +531,8 @@ __HSMW_HIGHLIGHT_TOKENS_TYPES=(
-hsmw-highlight-stack-pop 'R' style=reserved-word
fi;;
$'\x28\x29') # possibly a function definition
if (( multi_func_def )) # || false # TODO: or if the previous word was a command word
then
(( next_word = next_word | BIT_start ))
fi
# || false # TODO: or if the previous word was a command word
(( multi_func_def )) && (( next_word = next_word | BIT_start ))
style=reserved-word
;;
$'\x7d') # right brace