From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29328 invoked from network); 4 Feb 2000 09:32:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Feb 2000 09:32:51 -0000 Received: (qmail 27075 invoked by alias); 4 Feb 2000 09:32:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9557 Received: (qmail 27048 invoked from network); 4 Feb 2000 09:32:29 -0000 Cc: Tanaka Akira To: zsh-workers@sunsite.auc.dk Subject: Re: flex - References: X-Attribution: adl From: Alexandre Duret-Lutz Date: 04 Feb 2000 10:30:39 +0100 In-Reply-To: Tanaka Akira's message of "04 Feb 2000 15:12:30 +0900" Message-ID: User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> "Tanaka" == Tanaka Akira writes: Tanaka> Z(2):akr@is27e1u11% Src/zsh -f Tanaka> is27e1u11% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst Tanaka> is27e1u11% flex - 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