Let ninja_syntax handle escaped spaces correctly.
authorNico Weber <thakis@chromium.org>
Thu, 22 Dec 2011 20:21:12 +0000 (12:21 -0800)
committerNico Weber <thakis@chromium.org>
Thu, 22 Dec 2011 20:21:12 +0000 (12:21 -0800)
commitebb6c593468267f1c23ffc2a1a56e8f04fb8fca0
tree1c6445c8adf5ef8131c4b2b9900db1006b7caaf3
parentec65275c2613b01115ab4a5c07408e3e53ce7a6e
Let ninja_syntax handle escaped spaces correctly.

Revert the main loop changes made in 2e7ab7514207ea7faad40faedf3fc9d72b3adf7a,
and add just a few lines to the original main loop to make '$ ' escaping work.
Add several new tests, and make the existing tests pass again.
misc/ninja_syntax.py
misc/ninja_test.py