[climacs-devel] html syntax buglet

Christophe Rhodes csr21 at cam.ac.uk
Wed Jun 29 15:19:14 UTC 2005


Robert Strandh <strandh at labri.fr> writes:

> Christophe Rhodes writes:
>  > (I found this while briefly looking for the bug which affects Prolog
>  > syntax: loading a prolog file initially shows everything to be a parse
>  > error; typing space at the top of the buffer forces a reparse and
>  > everything is well from that point.  I have no idea why this happens.)
>
> That's strange indeed.  Is it OK even after removing the space? 

Yes.

I think I've tracked it down, though I'm sufficiently unfamiliar with
the parsing machinery that I can't say I'm sure: at least, the
attached patch fixes this (the Prolog-related, that is) bug.  For what
it's worth, I /believe/ that what this patch fixes is the fact that
the initial state can be not just at the start of rules matching
target, but also partway (if there is the possibility of empty
elements matching the first element on the right-hand-side of a rule)
through a rule.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: syntax-initial-state.diff
URL: <https://mailman.common-lisp.net/pipermail/climacs-devel/attachments/20050629/f397699b/attachment.ksh>
-------------- next part --------------

Cheers,

Christophe


More information about the climacs-devel mailing list