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

Side by Side Diff: runtime/vm/token.h

Issue 10918226: Get rid of #resource directive in VM (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_TOKEN_H_ 5 #ifndef VM_TOKEN_H_
6 #define VM_TOKEN_H_ 6 #define VM_TOKEN_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 \ 129 \
130 TOK(kWHITESP, "", 0, kNoAttribute) \ 130 TOK(kWHITESP, "", 0, kNoAttribute) \
131 TOK(kERROR, "", 0, kNoAttribute) \ 131 TOK(kERROR, "", 0, kNoAttribute) \
132 TOK(kILLEGAL, "", 0, kNoAttribute) \ 132 TOK(kILLEGAL, "", 0, kNoAttribute) \
133 \ 133 \
134 /* Support for Dart scripts. */ \ 134 /* Support for Dart scripts. */ \
135 TOK(kSCRIPTTAG, "#!", 0, kNoAttribute) \ 135 TOK(kSCRIPTTAG, "#!", 0, kNoAttribute) \
136 TOK(kLIBRARY, "#library", 0, kNoAttribute) \ 136 TOK(kLIBRARY, "#library", 0, kNoAttribute) \
137 TOK(kIMPORT, "#import", 0, kNoAttribute) \ 137 TOK(kIMPORT, "#import", 0, kNoAttribute) \
138 TOK(kSOURCE, "#source", 0, kNoAttribute) \ 138 TOK(kSOURCE, "#source", 0, kNoAttribute) \
139 TOK(kRESOURCE, "#resource", 0, kNoAttribute) \
140 139
141 // List of keywords. The list must be alphabetically ordered. The 140 // List of keywords. The list must be alphabetically ordered. The
142 // keyword recognition code depends on the ordering. 141 // keyword recognition code depends on the ordering.
143 // If you add a keyword at the beginning or end of this list, make sure 142 // If you add a keyword at the beginning or end of this list, make sure
144 // to update kFirstKeyword and kLastKeyword below. 143 // to update kFirstKeyword and kLastKeyword below.
145 #define DART_KEYWORD_LIST(KW) \ 144 #define DART_KEYWORD_LIST(KW) \
146 KW(kABSTRACT, "abstract", 0, kPseudoKeyword) /* == kFirstKeyword */ \ 145 KW(kABSTRACT, "abstract", 0, kPseudoKeyword) /* == kFirstKeyword */ \
147 KW(kASSERT, "assert", 0, kPseudoKeyword) \ 146 KW(kASSERT, "assert", 0, kPseudoKeyword) \
148 KW(kBREAK, "break", 0, kKeyword) \ 147 KW(kBREAK, "break", 0, kKeyword) \
149 KW(kCASE, "case", 0, kKeyword) \ 148 KW(kCASE, "case", 0, kKeyword) \
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 static const char* name_[]; 293 static const char* name_[];
295 static const char* tok_str_[]; 294 static const char* tok_str_[];
296 static const uint8_t precedence_[]; 295 static const uint8_t precedence_[];
297 static const Attribute attributes_[]; 296 static const Attribute attributes_[];
298 }; 297 };
299 298
300 299
301 } // namespace dart 300 } // namespace dart
302 301
303 #endif // VM_TOKEN_H_ 302 #endif // VM_TOKEN_H_
OLDNEW
« no previous file with comments | « runtime/vm/symbols.h ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698