all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob fa328438cb1587d864cb4a40c14eb57475418330 1070 bytes (raw)
name: test/lisp/progmodes/cperl-mode-resources/fontify-punctuation-vars.pl 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
# The following Perl punctiation variables contain characters which
# are classified as string delimiters in the syntax table.  The mode
# should not be confused by these.
# The corresponding tests check that two consecutive '#' characters
# are seen as comments, not as strings.
my $pre = $`;  ##  $PREMATCH,      use another ` # to balance out
my $pos = $';  ##  $POSTMATCH,     use another ' # to balance out
my $lsp = $";  ##  $LIST_SEPARATOR use another " # to balance out

# In the second level, we use the reference constructor \ on these
# variables.  The backslash is an escape character *only* in strings.
my $ref = \$`; ## \$PREMATCH,      use another ` # to balance out
my $rif = \$'; ## \$POSTMATCH,     use another ' # to balance out
my $raf = \$"; ## \$LIST_SEPARATOR use another " # to balance out

my $opt::s = 0;       ## s is no substitution here
my $opt_s  = 0;       ## s is no substitution here
my %opt = (s => 0);   ## s is no substitution here
$opt{s} = 0;          ## s is no substitution here
$opt_s =~ /\s+.../    ## s is no substitution here

debug log:

solving fa328438cb ...
found fa328438cb in https://git.savannah.gnu.org/cgit/emacs.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.