gecko-dev/testing/mozbase/manifestparser
Kris Maglione 73e321aadc Bug 1566952: Part 0 - Fix comment processing in multi-line directives. r=ahal
The current comment processing code strips whitespace from a line, calculates
comment offsets based on the unstripped version, and then strips those offsets
from the stripped version. That means that, for multi-line directives, which
typically have two spaces at the front, the offsets are wrong and lines with
comments end up with a trailing "# " that the expression parser doesn't
understand.

This patch fixes the comment parser to correctly use the stripped line for
offset calculations instead.

Differential Revision: https://phabricator.services.mozilla.com/D38724

--HG--
extra : rebase_source : 9f19314ccab3fb2fa68642ff0aef978cb5c3e13c
2019-07-17 14:19:59 -07:00
..
manifestparser Bug 1566952: Part 0 - Fix comment processing in multi-line directives. r=ahal 2019-07-17 14:19:59 -07:00
tests Bug 1498636 - Separate "include" variables from manifest defaults r=ahal 2019-02-07 15:10:25 +00:00
setup.py