[cp-patches] Patch: Parser fix

Lillian Angel langel at redhat.com
Tue May 2 13:45:37 UTC 2006


On Tue, 2006-05-02 at 14:32 +0200, Audrius Meskauskas wrote:
> Now there are two identical cases in the switch statement:
> case NUMTOKEN:
> (code, ends with break)
> case SLASH:
> (same code again)
> 
>  Probably it may be better just to put two labels:
> 

No, the code is slightly different. I will retest this and possibly
change it back.

> case NUMTOKEN:
> case SLASH:
> 
> (code)
> 
> rather than duplicating the whole section. It seems still parsing correctly.
> 
> 2006-05-02  Audrius Meskauskas  <AudriusA at Bioinformatics.org>
> 
>         * gnu/javax/swing/text/html/parser/support/Parser.java
>         (readAttributes): Merge case NUMTOKEN: and case SLASH
> 	sections.
> 
> 
>  




More information about the Classpath-patches mailing list