summary refs log tree commit diff
path: root/Completion/Base/_regex_arguments
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-05-04 20:46:57 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-05-04 20:46:57 +0000
commit6a93b85903a536bb5ca46d3b3ad0e5d5a37fbcf2 (patch)
tree988106f905b4e1926d1d95ef506548d59a242491 /Completion/Base/_regex_arguments
parent3e7a2a41bc6df97b7fa90db7fa4ad16a667dc645 (diff)
downloadzsh-6a93b85903a536bb5ca46d3b3ad0e5d5a37fbcf2.tar.gz
zsh-6a93b85903a536bb5ca46d3b3ad0e5d5a37fbcf2.tar.xz
zsh-6a93b85903a536bb5ca46d3b3ad0e5d5a37fbcf2.zip
11166: Completion/Base/_regex_arguments: remove debugging code.
Diffstat (limited to 'Completion/Base/_regex_arguments')
-rw-r--r--Completion/Base/_regex_arguments3
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Base/_regex_arguments b/Completion/Base/_regex_arguments
index dfe8f7f4d..1fc43f6a7 100644
--- a/Completion/Base/_regex_arguments
+++ b/Completion/Base/_regex_arguments
@@ -22,7 +22,7 @@
 # pattern = "/" ( glob | "[]" ) "/" [ "+" | "-" ]
 # lookahead = "%" glob "%"
 # guard = "-" zsh-code-to-eval
-# caction = ":" zsh-code-to-eval
+# caction = ":" tag ":" descr ":" zsh-code-to-eval
 # action = "{" zsh-code-to-eval "}"
 
 ## regex word sequence definition:
@@ -81,7 +81,6 @@ _regex_arguments () {
 	_ra_left="$_ra_line[_ra_p1 + 1, _ra_p2]"
 	_ra_right="$_ra_line[_ra_p2 + 1, -1]"
 	compset -p $(( $#PREFIX - $#_ra_line + $_ra_p1 ))
-	: "$_ra_actions[@]"
 	tmp=("${(@)_ra_actions%%:*}")
 	if (( $#tmp )); then
 	  _tags "$tmp[@]"