Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Issue 1068623002: tools/gn: provide better error message for bogus binary expressions (Closed)

Created:
5 years, 8 months ago by mdempsky
Modified:
5 years, 8 months ago
Reviewers:
Dirk Pranke, scottmg
CC:
chromium-reviews, tfarina, brettw, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/gn: provide better error message for bogus binary expressions BUG=472038 Committed: https://crrev.com/a2c7d0df0f3630fe4a91370df2273ebc6b4c8c49 Cr-Commit-Position: refs/heads/master@{#324106}

Patch Set 1 #

Total comments: 5

Patch Set 2 : scottmg feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M tools/gn/parser.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M tools/gn/parser_unittest.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
mdempsky
5 years, 8 months ago (2015-04-06 23:38:11 UTC) #2
mdempsky
https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser_unittest.cc File tools/gn/parser_unittest.cc (right): https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser_unittest.cc#newcode207 tools/gn/parser_unittest.cc:207: DoExpressionErrorTest("[a, 2+,]", 1, 7); This expectation change is because ...
5 years, 8 months ago (2015-04-06 23:41:52 UTC) #3
Dirk Pranke
This seems reasonable to me, but I'd like Scott to sign off.
5 years, 8 months ago (2015-04-07 19:20:38 UTC) #5
scottmg
https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser.cc File tools/gn/parser.cc (right): https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser.cc#newcode391 tools/gn/parser.cc:391: if (!has_error()) nit; braces for multiline if. https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser.cc#newcode393 tools/gn/parser.cc:393: ...
5 years, 8 months ago (2015-04-07 19:49:52 UTC) #6
mdempsky
https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser.cc File tools/gn/parser.cc (right): https://codereview.chromium.org/1068623002/diff/1/tools/gn/parser.cc#newcode391 tools/gn/parser.cc:391: if (!has_error()) On 2015/04/07 19:49:52, scottmg wrote: > nit; ...
5 years, 8 months ago (2015-04-07 19:58:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1068623002/20001
5 years, 8 months ago (2015-04-07 20:00:09 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-07 20:32:07 UTC) #11
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 20:33:53 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a2c7d0df0f3630fe4a91370df2273ebc6b4c8c49
Cr-Commit-Position: refs/heads/master@{#324106}

Powered by Google App Engine
This is Rietveld 408576698