diff options
author | 2010-08-17 14:02:41 +0100 | |
---|---|---|
committer | 2010-08-17 14:02:41 +0100 | |
commit | 69d1ec3686fbdcf50d736384be914a7c12ad8576 (patch) | |
tree | 3bf08746c1d5faa8fbe71646b9c2005589c83592 | |
parent | 3780f1d8de0d2e19810a2554099f636ad22d7832 (diff) | |
download | paludis-69d1ec3686fbdcf50d736384be914a7c12ad8576.tar.gz paludis-69d1ec3686fbdcf50d736384be914a7c12ad8576.tar.xz |
Escape a
-rw-r--r-- | paludis/util/config_file.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/util/config_file.cc b/paludis/util/config_file.cc index 53336c5a3..38baf5b40 100644 --- a/paludis/util/config_file.cc +++ b/paludis/util/config_file.cc @@ -423,6 +423,8 @@ namespace result.append("\n"); else if (parser.consume(simple_parser::exact("\\e"))) result.append("\033"); + else if (parser.consume(simple_parser::exact("\\a"))) + result.append("\007"); else if (parser.consume(simple_parser::exact("\\") & simple_parser::any_except("") >> s)) result.append(s); else if ((! k.options()[kvcfo_disallow_variables]) && parser.consume(simple_parser::exact("$"))) @@ -515,6 +517,8 @@ namespace result.append("\t"); else if (w == "e") result.append("\033"); + else if (w == "a") + result.append("\007"); else result.append(w); } |