Re: [cc65] ca65html and anonymous labels

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2006-09-21 23:22:32
Hi!

On Wed, Sep 20, 2006 at 05:39:08PM +0200, MagerValp wrote:
> ca65html incorrectly parses
>
>  	bne :-
>
> as a label named "bne". ca65 apparently allows whitespace around the
> label name, and the ca65html regexp is a little too greedy. As I don't
> use that particular feature myself (does anyone?), I hacked the regexp
> to only allow spaces before =, and not before :.

There must be a better solution (only accept the ':' if it is not followed by
'+' or '-').

> I also made it output
> valid HTML 4.01 Strict + CSS when colorizing. Patch is here:
>
>   http://www.paradroid.net/tmp/ca65html.patch

Whow, nice work! Can I integrate this into the official version?

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 21 23:22:47 2006

This archive was generated by hypermail 2.1.8 : 2006-09-21 23:22:50 CEST