2 character comment starter bug

2005-03-23 Thread Bielawski, Richard G.
I've got comment characters defined like this for tacl-mode (modify-syntax-entry ?\~ / st) ; ~ gets Escape syntax (modify-syntax-entry ?\{ st) ; comment start { (modify-syntax-entry ?\} st) ; comment end } (modify-syntax-entry ?\= _ b12 st) ; comment start ==

Re: 2 character comment starter bug

2005-03-23 Thread Stefan Monnier
(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