| OLD | NEW |
| 1 // Copyright (c) 2011, 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 #include "vm/scanner.h" | 5 #include "vm/scanner.h" |
| 6 | 6 |
| 7 #include "vm/assert.h" | 7 #include "platform/assert.h" |
| 8 #include "vm/flags.h" | 8 #include "vm/flags.h" |
| 9 #include "vm/object.h" | 9 #include "vm/object.h" |
| 10 #include "vm/thread.h" | 10 #include "vm/thread.h" |
| 11 #include "vm/token.h" | 11 #include "vm/token.h" |
| 12 | 12 |
| 13 namespace dart { | 13 namespace dart { |
| 14 | 14 |
| 15 DEFINE_FLAG(bool, print_tokens, false, "Print scanned tokens."); | 15 DEFINE_FLAG(bool, print_tokens, false, "Print scanned tokens."); |
| 16 | 16 |
| 17 void Scanner::InitKeywordTable() { | 17 void Scanner::InitKeywordTable() { |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 "%c%"PRIxPTR, kPrivateKeySeparator, key_value); | 845 "%c%"PRIxPTR, kPrivateKeySeparator, key_value); |
| 846 const String& result = String::Handle(String::New(private_key)); | 846 const String& result = String::Handle(String::New(private_key)); |
| 847 return result.raw(); | 847 return result.raw(); |
| 848 } | 848 } |
| 849 | 849 |
| 850 | 850 |
| 851 void Scanner::InitOnce() { | 851 void Scanner::InitOnce() { |
| 852 } | 852 } |
| 853 | 853 |
| 854 } // namespace dart | 854 } // namespace dart |
| OLD | NEW |