diff options
author | Danilo Segan <danilo@canonical.com> | 2011-10-08 14:27:39 +0200 |
---|---|---|
committer | Danilo Segan <danilo@canonical.com> | 2011-10-08 14:27:39 +0200 |
commit | fec7d361bf9b11e02984cf167cf3259f9172b78e (patch) | |
tree | 4c436a1f640557321bfd8e95498a5b588b40c3f7 | |
parent | 085200db7682676bc0df5a296d89b3a757392f09 (diff) | |
download | intltool-fec7d361bf9b11e02984cf167cf3259f9172b78e.tar.gz |
Nicer code for multiline string quotes.
-rw-r--r-- | intltool-update.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intltool-update.in b/intltool-update.in index e4fdebe..485a4e5 100644 --- a/intltool-update.in +++ b/intltool-update.in @@ -451,9 +451,11 @@ sub FindLeftoutFiles my $in_comment = 0; my $in_macro = 0; my $in_string = 0; - my @multiline_quotes = ("'''", '"""'); + my @multiline_quotes; if ($file =~ /\.scm/) { @multiline_quotes = ('"'); + } else { + @multiline_quotes = ("'''", '"""'); } open FILE, "<$file"; |