zsh-workers
 help / color / mirror / code / Atom feed
From: Alexandre Duret-Lutz <duret_g@epita.fr>
To: zsh-workers@sunsite.auc.dk
Cc: Tanaka Akira <akr@jaist.ac.jp>
Subject: Re: flex -<TAB>
Date: 04 Feb 2000 10:30:39 +0100	[thread overview]
Message-ID: <mvbsnz9qpq8.fsf@phobos.lrde.epita.fr> (raw)
In-Reply-To: Tanaka Akira's message of "04 Feb 2000 15:12:30 +0900"

>>> "Tanaka" == Tanaka Akira <akr@jaist.ac.jp> writes:

 Tanaka> Z(2):akr@is27e1u11% Src/zsh -f
 Tanaka> is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
 Tanaka> is27e1u11% flex -<TAB>
 Tanaka> -  -- generate C++ scanner class
 Tanaka> -7 -- generate 7-bit scanner
 Tanaka> ...

 Tanaka> The option `+' isn't displayed.

I think this is since 9216. The character just after `-' in an argument
definition was not checked before, but now it is.  And since `+' has a
special meaning for _arguments, perhaps the cleaner way to correct this is
to escape it.

Index: Completion/User/_flex
--- Completion/User/_flex Fri, 31 Dec 1999 13:32:44 +0100 Alexandre
+++ Completion/User/_flex Fri, 04 Feb 2000 10:04:17 +0100 Alexandre
@@ -24,7 +24,7 @@
   '-V[show version]' \
   '-7[generate 7-bit scanner]' \
   '-8[generate 8-bit scanner]' \
-  '-+[generate C++ scanner class]' \
+  '-\+[generate C++ scanner class]' \
   '-C-[specify degree of table compression]:table compression:->tabcomp' \
   '-o-[specify output file]:output file:_files' \
   '-P-[change yy prefix]:prefix string:' \


-- 
Alexandre Duret-Lutz


  reply	other threads:[~2000-02-04  9:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-03 19:14 _arguments problems Tanaka Akira
2000-02-04  6:12 ` flex -<TAB> Tanaka Akira
2000-02-04  9:30   ` Alexandre Duret-Lutz [this message]
2000-02-04  9:43 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvbsnz9qpq8.fsf@phobos.lrde.epita.fr \
    --to=duret_g@epita.fr \
    --cc=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).