diff options
author | Evan Martin <martine@danga.com> | 2011-05-22 17:15:11 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-27 02:35:39 (GMT) |
commit | 55fd4232d35de1f163310333d216d81a35cc0ef1 (patch) | |
tree | 1b0f3dedb6bc5b216ba8ae0809f78d20e45323f6 /misc | |
parent | 976166706db05dcd4496586ae995b7fdb1afab35 (diff) | |
download | Ninja-55fd4232d35de1f163310333d216d81a35cc0ef1.zip Ninja-55fd4232d35de1f163310333d216d81a35cc0ef1.tar.gz Ninja-55fd4232d35de1f163310333d216d81a35cc0ef1.tar.bz2 |
switch to $ as the line continuation char
This means that backslashes are passed through without interpretation,
allowing us to support Windows paths without worrying about escaping.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ninja.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ninja.py b/misc/ninja.py index e1abbf7..38b13c9 100644 --- a/misc/ninja.py +++ b/misc/ninja.py @@ -58,7 +58,7 @@ class Writer(object): while len(text) > self.width: space = text.rfind(' ', 0, self.width - 4) assert space != -1 # TODO: handle if no space found. - self.output.write(text[0:space] + ' \\\n') + self.output.write(text[0:space] + ' $\n') text = ' ' * (indent+2) + text[space:].lstrip() self.output.write(text + '\n') |