Commit 42be8f2e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(perl-mode-syntax-table): Change $ back to just "/" instead of "/ p".

(perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
parent a9645a66
2002-10-18 Stefan Monnier <monnier@rum.cs.yale.edu>
* progmodes/perl-mode.el (perl-mode-syntax-table): Change $ back
to just "/" instead of "/ p".
(perl-font-lock-syntactic-keywords): Use ". p" for the `$'.
2002-10-18 Juanma Barranquero <lektu@terra.es>
 
* textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
......
......@@ -139,7 +139,9 @@ The expansion is entirely correct because it uses the C preprocessor."
(let ((st (make-syntax-table (standard-syntax-table))))
(modify-syntax-entry ?\n ">" st)
(modify-syntax-entry ?# "<" st)
(modify-syntax-entry ?$ "/ p" st)
;; `$' is also a prefix char so I was tempted to say "/ p",
;; but the `p' thingy basically overrides the `/' :-( --stef
(modify-syntax-entry ?$ "/" st)
(modify-syntax-entry ?% ". p" st)
(modify-syntax-entry ?@ ". p" st)
(modify-syntax-entry ?& "." st)
......@@ -250,7 +252,7 @@ The expansion is entirely correct because it uses the C preprocessor."
;; Catch ${ so that ${var} doesn't screw up indentation.
;; This also catches $' to handle 'foo$', although it should really
;; check that it occurs inside a '..' string.
("\\(\\$\\)[{']" (1 "."))
("\\(\\$\\)[{']" (1 ". p"))
;; Handle funny names like $DB'stop.
("\\$ ?{?^?[_a-zA-Z][_a-zA-Z0-9]*\\('\\)[_a-zA-Z]" (1 "_"))
;; format statements
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment