Message-ID: <m3d6kyvazx.wl_rspier@pobox.com>
p4raw-id: //depot/perl@18963
flam
} flamflim;
+/* Handle multi-line quoted strings: */
+__asm__ __volatile__("
+ this
+ produces
+ no
+ output
+");
+
+#define multiline "multiline
+string"
+
#endif /* _H2PH_H_ */
}
eval("sub flim () { 0; }") unless defined(&flim);
eval("sub flam () { 1; }") unless defined(&flam);
+ eval 'sub multiline () {"multilinestring";}' unless defined(&multiline);
}
1;
$out .= $1;
} elsif ($in =~ s/^(\\.)//) { # \...
$out .= $1;
- } elsif ($in =~ s/^('(\\.|[^'\\])*')//) { # '...
- $out .= $1;
- } elsif ($in =~ s/^("(\\.|[^"\\])*")//) { # "...
- $out .= $1;
+ } elsif ($in =~ /^'/) { # '...
+ if ($in =~ s/^('(\\.|[^'\\])*')//) {
+ $out .= $1;
+ } else {
+ next READ;
+ }
+ } elsif ($in =~ /^"/) { # "...
+ if ($in =~ s/^("(\\.|[^"\\])*")//) {
+ $out .= $1;
+ } else {
+ next READ;
+ }
} elsif ($in =~ s/^\/\/.*//) { # //...
# fall through
} elsif ($in =~ m/^\/\*/) { # /*...