diff options
| author | Stefan Monnier | 2014-04-02 20:41:09 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-04-02 20:41:09 -0400 |
| commit | 062e286b7ccf2b23cfafef1bf1128eaf91e0ec94 (patch) | |
| tree | ae8c241903261aca39d953c8b3399a72fbc71d79 /test/indent | |
| parent | 8a7fd442120979132a5c7beb0ac910ea3fae165d (diff) | |
| download | emacs-062e286b7ccf2b23cfafef1bf1128eaf91e0ec94.tar.gz emacs-062e286b7ccf2b23cfafef1bf1128eaf91e0ec94.zip | |
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
used as a variable.
Fixes: debbugs:17174
Diffstat (limited to 'test/indent')
| -rwxr-xr-x | test/indent/perl.perl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/perl.perl b/test/indent/perl.perl index 69c1f90c807..7cb877b0a95 100755 --- a/test/indent/perl.perl +++ b/test/indent/perl.perl | |||
| @@ -16,5 +16,9 @@ EOF1 | |||
| 16 | bar | 16 | bar |
| 17 | EOF2 | 17 | EOF2 |
| 18 | 18 | ||
| 19 | print $'; # This should not start a string! | ||
| 20 | |||
| 21 | print "hello" for /./; | ||
| 22 | |||
| 19 | $fileType_filesButNot # bug#12373? | 23 | $fileType_filesButNot # bug#12373? |
| 20 | = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} ); | 24 | = join( '|', map { quotemeta($_).'$' } @{$fileType->{filesButNot}} ); |