*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 -hsmw-highlight-stack-pop 'R' style=reserved-word
fi;; fi;;
$'\x28\x29') # possibly a function definition $'\x28\x29') # possibly a function definition
if (( multi_func_def )) # || false # TODO: or if the previous word was a command word # || false # TODO: or if the previous word was a command word
then (( multi_func_def )) && (( next_word = next_word | BIT_start ))
(( next_word = next_word | BIT_start ))
fi
style=reserved-word style=reserved-word
;; ;;
$'\x7d') # right brace $'\x7d') # right brace