*highlight: Make '|| false' a comment

parse.zsh -oo, after changes:

Running time: 1.8009350000
num  calls                time                       self            name
-----------------------------------------------------------------------------------
 1)  350        1793,49     5,12  100,00%   1319,59     3,77   73,57%  -hsmw-highlight-process
 2) 2800         336,92     0,12   18,78%    336,92     0,12   18,78%  -hsmw-highlight-string
 3) 2450          80,77     0,03    4,50%     80,77     0,03    4,50%  -hsmw-highlight-check-path
 4) 1400          38,54     0,03    2,15%     38,54     0,03    2,15%  -hsmw-highlight-main-type
 5)  350           9,74     0,03    0,54%      9,74     0,03    0,54%  -hsmw-highlight-stack-pop
 6)  350           7,93     0,02    0,44%      7,93     0,02    0,44%  -hsmw-highlight-path-separators
 7)    1           0,07     0,07    0,00%      0,07     0,07    0,00%  -hsmw-highlight-fill-option-variables
 8)    1           0,01     0,01    0,00%      0,01     0,01    0,00%  -hsmw-highlight-init
This commit is contained in:
Sebastian Gniazdowski 2016-10-25 17:36:57 +02:00
parent b6704cca92
commit bd6e44859c

View file

@ -531,7 +531,7 @@ __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 if (( multi_func_def )) # || false # TODO: or if the previous word was a command word
then then
(( next_word = next_word | BIT_start )) (( next_word = next_word | BIT_start ))
fi fi