commit | 8afd0f85ed0b9fa1c96297c540cb74e6d8b9a64d | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Thu Jul 30 17:00:33 2015 -0700 |
committer | Hans Boehm <hboehm@google.com> | Thu Sep 10 10:58:46 2015 -0700 |
tree | f7ee6d1779a71c799b99220baf876c4663185312 | |
parent | d568d6b640e6384b6e6782efad3ab9efdd875619 [diff] |
Generalize % operator: Handle 100+10% as expected Bug: 22836179 Handle + or - operators specially if they are followed by a constant or pre-evaluated expression and the % operator. Since this is basically an idiomatic use of the operators, we apply it very conservatively. When in doubt we use the old interpretation. Also fixes one unrelated anachronism in a comment. Change-Id: I2f9fd26dd6c0456f0210815ef2bc1afca3a2b4d7