aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mparser.py
diff options
context:
space:
mode:
authorMike Sinkovsky <msink@permonline.ru>2017-01-09 15:14:24 +0500
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-11 12:33:27 -0500
commit5b626ab4cb8ee6024394945e716e3a5426216260 (patch)
tree4db6f656f69906e9f00c97a938a8da17548b7282 /mesonbuild/mparser.py
parent0dd1e338989c4d0517eab8efbfa008e0e3e841a9 (diff)
downloadmeson-5b626ab4cb8ee6024394945e716e3a5426216260.zip
meson-5b626ab4cb8ee6024394945e716e3a5426216260.tar.gz
meson-5b626ab4cb8ee6024394945e716e3a5426216260.tar.bz2
style: [E1**] Indentation
Diffstat (limited to 'mesonbuild/mparser.py')
-rw-r--r--mesonbuild/mparser.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/mesonbuild/mparser.py b/mesonbuild/mparser.py
index 6b1c8ee..fa8ade2 100644
--- a/mesonbuild/mparser.py
+++ b/mesonbuild/mparser.py
@@ -107,8 +107,10 @@ class Lexer:
elif tid == 'dblquote':
raise ParseException('Double quotes are not supported. Use single quotes.', lineno, col)
elif tid == 'string':
- value = match_text[1:-1].replace(r"\'", "'").replace(r" \\ ".strip(), r" \ ".strip())\
- .replace("\\n", "\n")
+ value = match_text[1:-1]\
+ .replace(r"\'", "'")\
+ .replace(r" \\ ".strip(), r" \ ".strip())\
+ .replace("\\n", "\n")
elif tid == 'multiline_string':
tid = 'string'
value = match_text[3:-3]