Mercurial > hg > xemacs-beta
comparison lisp/font-lock.el @ 294:4b85ae5eabfb r21-0b45
Import from CVS: tag r21-0b45
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:38:01 +0200 |
parents | 90d73dddcdc4 |
children | 9ea74add5d37 |
comparison
equal
deleted
inserted
replaced
293:403535bfea94 | 294:4b85ae5eabfb |
---|---|
1989 ;; Match, and move over, any declaration/definition item after point. | 1989 ;; Match, and move over, any declaration/definition item after point. |
1990 ;; The expect syntax of an item is "word" or "word::word", possibly ending | 1990 ;; The expect syntax of an item is "word" or "word::word", possibly ending |
1991 ;; with optional whitespace and a "(". Everything following the item (but | 1991 ;; with optional whitespace and a "(". Everything following the item (but |
1992 ;; belonging to it) is expected to by skip-able by `forward-sexp', and items | 1992 ;; belonging to it) is expected to by skip-able by `forward-sexp', and items |
1993 ;; are expected to be separated with a "," or ";". | 1993 ;; are expected to be separated with a "," or ";". |
1994 (if (looking-at "[ \t*&]*\\(\\sw+\\)\\(::\\(\\sw+\\)\\)?[ \t]*\\((\\)?") | 1994 (if (looking-at "[ \t*&]*\\(\\(?:\\sw\\|\\s_\\)+\\)\\(::\\(\\(?:\\sw\\|\\s_\\)+\\)\\)?[ \t]*\\((\\)?") |
1995 (save-match-data | 1995 (save-match-data |
1996 (condition-case nil | 1996 (condition-case nil |
1997 (save-restriction | 1997 (save-restriction |
1998 ;; Restrict to the end of line, currently guaranteed to be LIMIT. | 1998 ;; Restrict to the end of line, currently guaranteed to be LIMIT. |
1999 (narrow-to-region (point-min) limit) | 1999 (narrow-to-region (point-min) limit) |