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

Issue 10985005: Implement part directive (Closed)

Created:
8 years, 3 months ago by hausner
Modified:
8 years, 3 months ago
Reviewers:
regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement part directive This replaces the existing #source directive. Committed: https://code.google.com/p/dart/source/detail?r=12818

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
M runtime/vm/parser.cc View 1 2 1 chunk +12 lines, -1 line 0 comments Download
A tests/language/import_combinators_part.dart View 1 1 chunk +9 lines, -0 lines 0 comments Download
M tests/language/import_combinators_test.dart View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
8 years, 3 months ago (2012-09-24 22:29:52 UTC) #1
regis
LGTM http://codereview.chromium.org/10985005/diff/2001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): http://codereview.chromium.org/10985005/diff/2001/runtime/vm/parser.cc#newcode4275 runtime/vm/parser.cc:4275: ConsumeToken(); What token are you consuming? ASSERT(CurrentToken() == ...
8 years, 3 months ago (2012-09-24 23:10:27 UTC) #2
hausner
8 years, 3 months ago (2012-09-24 23:18:35 UTC) #3
Thank you.

http://codereview.chromium.org/10985005/diff/2001/runtime/vm/parser.cc
File runtime/vm/parser.cc (right):

http://codereview.chromium.org/10985005/diff/2001/runtime/vm/parser.cc#newcod...
runtime/vm/parser.cc:4275: ConsumeToken();
I added a comment instead of an assert. I think we have too many asserts that
collectively bloat the debug build.

On 2012/09/24 23:10:27, regis wrote:
> What token are you consuming?
> ASSERT(CurrentToken() == ...)?

Powered by Google App Engine
This is Rietveld 408576698