Closed
Bug 820724
Opened 12 years ago
Closed 12 years ago
Add support for more elaborate expressions for Preprocessor.py
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla20
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
6.71 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I seem to remember there are some places where we're going through hoops around the lack of &&, || and defined() in Preprocessor.py. I happen to be hitting one more in bug 755724 so enough is enough.
Assignee | ||
Comment 1•12 years ago
|
||
This allows #if defined(FOO) || defined(BAR) && defined(BAZ)
Attachment #691246 -
Flags: review?(ted)
Comment 2•12 years ago
|
||
Comment on attachment 691246 [details] [diff] [review] Add support for more elaborate expressions for Preprocessor.py Review of attachment 691246 [details] [diff] [review]: ----------------------------------------------------------------- I predict that we're going to want parentheses next. Thanks for fixing this. ::: config/Expression.py @@ +58,5 @@ > + return rv > + > + def __get_logical_and(self): > + """ > + Production: test ( '||' and_cond ) ? &&
Updated•12 years ago
|
Attachment #691246 -
Flags: review?(ted) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/213b4178df8c
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/213b4178df8c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•