[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2 character comment starter bug
From: |
Stefan Monnier |
Subject: |
Re: 2 character comment starter bug |
Date: |
Wed, 23 Mar 2005 13:31:59 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (modify-syntax-entry ?\= "_ b12" st) ; comment start ==
Yes, it seems the problem is that your 2-char comment sequence is made of
symbol-chars, so there are cases where the code does things like "oh, here's
a symbol, let's skip it" without checking whether some of the chars that
compose the symbol happen to also be a comment-marker.
Does your = char really need to have "symbol" syntax (i.e. "_") or
could it have punctuation syntax instead (i.e. ".") ?
Stefan