On 04/10/03 00:33 +0100, John Paul Wallington wrote: > > Now it works, I can use spaces and returns. But while fontifying, I get: > > > > (5) (warning/warning) Error caught in `font-lock-pre-idle-hook': > > (invalid-regexp Invalid syntax designator) > > How about this fix: > > Index: pir-mode.el > =================================================================== > RCS file: /cvs/public/parrot/editor/pir-mode.el,v > retrieving revision 1.2 > diff -u -r1.2 pir-mode.el > --- pir-mode.el 17 Aug 2004 14:59:49 -0000 1.2 > +++ pir-mode.el 2 Oct 2004 23:38:15 -0000 > @@ -270,7 +270,7 @@ > (,pir-register-regexp . font-lock-variable-name-face) > (,(regexp-opt pir-dotted-directives 'paren) . font-lock-keyword-face) > (,(regexp-opt pir-ops 'words) . font-lock-keyword-face) > - ("\\s-*\\(\\sw+\\)\\s=*" > + ("\\s-*\\(\\sw+\\)\\s-*" > (1 font-lock-variable-name-face)) > ))
Works like a charm. Thanx a lot. Does it still works with emacs? If yes, then do you have commit rights? Jerome -- [EMAIL PROTECTED]