Fix wrapping file paths in Writer.comment
authorAlex Vallée <avallee@google.com>
Fri, 23 Oct 2015 20:36:28 +0000 (16:36 -0400)
committerAlex Vallée <avallee@google.com>
Fri, 23 Oct 2015 20:36:28 +0000 (16:36 -0400)
commit8f658d63298c5fae29616b8d922d03bb7ea67c0c
tree3dd0d2c40c09c075d663428628ad094d611890c3
parent083b6b040681ec3d8ec3cd40f20406b9e6ec8d56
Fix wrapping file paths in Writer.comment

Long file names, especially with hyphens will get incorrectly wrapped by
the comment method. Pass has_path=True to prevent this type of wrapping.

This is mainly so that longer path names can show up in comments on
their on line without breaking them up.
misc/ninja_syntax.py
misc/ninja_syntax_test.py