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

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

Issue 253013006: Add flag —source-lines which emits appropriate source lines as code comments. Added token_pos to … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 312 }
313 } 313 }
314 314
315 private: 315 private:
316 static const char* name_[]; 316 static const char* name_[];
317 static const char* tok_str_[]; 317 static const char* tok_str_[];
318 static const uint8_t precedence_[]; 318 static const uint8_t precedence_[];
319 static const Attribute attributes_[]; 319 static const Attribute attributes_[];
320 }; 320 };
321 321
322 const int kNoTokenPos = -1;
Florian Schneider 2014/04/29 20:04:21 We also have Scanner::kNoSourcePos which is 0. Do
Cutch 2014/04/29 20:05:25 Good catch. Let's only have one.
srdjan 2014/04/30 15:00:53 Removed kNoTokenPos
323
322 324
323 } // namespace dart 325 } // namespace dart
324 326
325 #endif // VM_TOKEN_H_ 327 #endif // VM_TOKEN_H_
OLDNEW
« runtime/vm/flow_graph_optimizer.cc ('K') | « runtime/vm/intermediate_language.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698