Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Issue 1546393002: Allow \n in GN string literals (Closed)

Created:
4 years, 12 months ago by agrieve
Modified:
4 years, 11 months ago
Reviewers:
brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Allow escape codes to be embedded in strings via $0xFF I've wanted to use them when writing assert messages. Might also be useful in write_file(). BUG= Committed: https://crrev.com/f59e82f6169caace177e452c06377b3d611ed978 Cr-Commit-Position: refs/heads/master@{#367622}

Patch Set 1 #

Patch Set 2 : Switch to $0xFF #

Patch Set 3 : fix documentation line #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -10 lines) Patch
M tools/gn/parser.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M tools/gn/string_utils.cc View 1 5 chunks +48 lines, -9 lines 2 comments Download
M tools/gn/string_utils_unittest.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (5 generated)
agrieve
4 years, 12 months ago (2015-12-28 20:39:27 UTC) #1
agrieve
4 years, 12 months ago (2015-12-28 20:40:00 UTC) #3
brettw
The current escaping is designed to allow most Windows paths (using backslashes) to be expressed ...
4 years, 12 months ago (2015-12-29 04:11:20 UTC) #4
agrieve
On 2015/12/29 04:11:20, brettw wrote: > The current escaping is designed to allow most Windows ...
4 years, 11 months ago (2016-01-04 16:28:51 UTC) #5
brettw
On 2016/01/04 16:28:51, agrieve wrote: > On 2015/12/29 04:11:20, brettw wrote: > > The current ...
4 years, 11 months ago (2016-01-04 18:31:23 UTC) #6
brettw
lgtm https://codereview.chromium.org/1546393002/diff/40001/tools/gn/string_utils.cc File tools/gn/string_utils.cc (right): https://codereview.chromium.org/1546393002/diff/40001/tools/gn/string_utils.cc#newcode232 tools/gn/string_utils.cc:232: output->push_back(value); I'm surprised you can push_back an into ...
4 years, 11 months ago (2016-01-05 18:11:04 UTC) #8
agrieve
https://codereview.chromium.org/1546393002/diff/40001/tools/gn/string_utils.cc File tools/gn/string_utils.cc (right): https://codereview.chromium.org/1546393002/diff/40001/tools/gn/string_utils.cc#newcode232 tools/gn/string_utils.cc:232: output->push_back(value); On 2016/01/05 18:11:04, brettw wrote: > I'm surprised ...
4 years, 11 months ago (2016-01-05 19:43:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1546393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1546393002/40001
4 years, 11 months ago (2016-01-05 19:45:36 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-05 20:09:12 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-05 20:11:05 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f59e82f6169caace177e452c06377b3d611ed978
Cr-Commit-Position: refs/heads/master@{#367622}

Powered by Google App Engine
This is Rietveld 408576698