diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/perl-mode.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 89dc0c3a3df..c899dad69a8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords): | ||
| 4 | Fix regexp for when "s///" is at the beginning of line. | ||
| 5 | |||
| 1 | 2005-09-07 Jay Belanger <belanger@truman.edu> | 6 | 2005-09-07 Jay Belanger <belanger@truman.edu> |
| 2 | 7 | ||
| 3 | * calc/calc-poly.el (math-expand-term): Multiply out any powers | 8 | * calc/calc-poly.el (math-expand-term): Multiply out any powers |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 7991f1fd1b4..e1af8b0f007 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -267,12 +267,12 @@ The expansion is entirely correct because it uses the C preprocessor." | |||
| 267 | ("\\<sub\\s-+\\S-+\\s-*(\\([^)]+\\))" 1 '(1)) | 267 | ("\\<sub\\s-+\\S-+\\s-*(\\([^)]+\\))" 1 '(1)) |
| 268 | ;; regexp and funny quotes | 268 | ;; regexp and funny quotes |
| 269 | ("[?:.,;=!~({[][ \t\n]*\\(/\\)" (1 '(7))) | 269 | ("[?:.,;=!~({[][ \t\n]*\\(/\\)" (1 '(7))) |
| 270 | ("[?:.,;=!~({[ \t\n]\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" | 270 | ("\\(^\\|[?:.,;=!~({[ \t]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" |
| 271 | ;; Nasty cases: | 271 | ;; Nasty cases: |
| 272 | ;; /foo/m $a->m $#m $m @m %m | 272 | ;; /foo/m $a->m $#m $m @m %m |
| 273 | ;; \s (appears often in regexps). | 273 | ;; \s (appears often in regexps). |
| 274 | ;; -s file | 274 | ;; -s file |
| 275 | (2 (if (assoc (char-after (match-beginning 2)) | 275 | (3 (if (assoc (char-after (match-beginning 3)) |
| 276 | perl-quote-like-pairs) | 276 | perl-quote-like-pairs) |
| 277 | '(15) '(7)))) | 277 | '(15) '(7)))) |
| 278 | ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)") | 278 | ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)") |