gnupic: Re: special numbers
Subject:
Re: special numbers
From:
Craig Franklin ####@####.####
Date:
10 Sep 2004 04:29:35 +0100
Message-Id: <41403081.1070901@users.sourceforge.net>
Thanks Byron and Tsu Do Nimh. My uudecode isn't working and I didn't
feel like spending the time to figure out why. Turns out I was missing
an rpm.
Just so everyone knows, I prefer to receive unified plain text diffs.
But any patch is better than no patch.
The patch appears to take care of one of the problems with processor
names. The case when the processor directive is used. There is also
the case of using "p=<processor>" option on the list directive. I think
this patch will break that option.
Byron A Jeff wrote:
>On Thu, Sep 09, 2004 at 06:59:33AM +0000, Craig Franklin wrote:
>
>
>>Can you please resend your patch as plain text?
>>
>>
>
>I uudecoded it for you Craig.
>
>-------------------scan.l.diff-----------------------------
>6a7
>
>
>>%x identifier
>>
>>
>65a67
>
>
>>PROC [Pp][rR][oO][cC][eE][sS][sS][oO][rR]
>>
>>
>176a179,182
>
>
>><identifier>[^ \t\r\n]+ { BEGIN(0); goto id; }
>><identifier>[ \t\r\n]+ /* ignore */
>><identifier><<EOF>> { BEGIN(0); REJECT; }
>>{PROC}/[ \t][0-9] { BEGIN(identifier); goto id; }
>>
>>
>179c185
>< force_decimal = 1;
>---
>
>
>> force_decimal = 1; id:
>>
>>
>336,341d341
>< 1[24678][CFHL0][CERV]?[0-9X][0-9X][0-9]?[0-9ABC]? {
>< /* Ugh. As a special case, treat processor names, such as 16C84
>< as identifiers rather than as hex numbers. */
>< yylval.s = strdup(yytext);
>< return IDENTIFIER;
>< }
>------------------end scan.l.diff --------------------------
>
>
>
>>pico wrote:
>>
>>
>>
>>>yes, this are special numbers.
>>>This is a patch for the latest cvs in order to fix this bug.
>>>
>>>begin 644 scan.l.diff
>>>M-F$W"CX@)7@@:61E;G1I9FEE<@HV-6$V-PH^(%!23T,)6U!P75MR4EU;;T]=
>>>M6V-#75ME15U;<U-=6W-375MO3UU;<E)="C$W-F$Q-SDL,3@R"CX@/&ED96YT
>>>M:69I97(^6UX@7'1<<EQN72L)('L@0D5'24XH,"D[(&=O=&\@:60[('T*/B`\
>>>M:61E;G1I9FEE<CY;(%QT7')<;ETK"2`O*B!I9VYO<F4@*B\*/B`\:61E;G1I
>>>M9FEE<CX\/$5/1CX^"2![($)%1TE.*#`I.R!214I%0U0[('T*/B![4%)/0WTO
>>>M6R!<=%U;,"TY70D@>R!"14=)3BAI9&5N=&EF:65R*3L@9V]T;R!I9#L@?0HQ
>>>M-SEC,3@U"CP@"0D)("!F;W)C95]D96-I;6%L(#T@,3L*+2TM"CX@"0D)("!F
####@####.####
>>>M0T9(3#!=6T-%4E9=/ULP+3E875LP+3E875LP+3E=/ULP+3E!0D-=/R!["CP@
>>>M+RH@56=H+B`@07,@82!S<&5C:6%L(&-A<V4L('1R96%T('!R;V-E<W-O<B!N
>>>M86UE<RP@<W5C:"!A<R`Q-D,X-`H\(&%S(&ED96YT:69I97)S(')A=&AE<B!T
>>>M:&%N(&%S(&AE>"!N=6UB97)S+B`J+PH\("`@("`@("`@("`@("`@("`@("`@
>>>M("`@("`@('EY;'9A;"YS(#T@<W1R9'5P*'EY=&5X="D["CP@"0D)("`@<F5T
>>>8=7)N($E$14Y4249)15(["CP@"0D)('T*
>>>`
>>>end
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: ####@####.####
>>>For additional commands, e-mail: ####@####.####
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ####@####.####
>>For additional commands, e-mail: ####@####.####
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>
>