| Index: frog/tokenizer.g.dart
|
| ===================================================================
|
| --- frog/tokenizer.g.dart (revision 6666)
|
| +++ frog/tokenizer.g.dart (working copy)
|
| @@ -225,9 +225,9 @@
|
| return _finishToken(TokenKind.BIT_NOT);
|
| }
|
| default:
|
| - if (isIdentifierStart(ch)) {
|
| + if (TokenizerHelpers.isIdentifierStart(ch)) {
|
| return this.finishIdentifier(ch);
|
| - } else if (isDigit(ch)) {
|
| + } else if (TokenizerHelpers.isDigit(ch)) {
|
| return this.finishNumber();
|
| } else {
|
| return _errorToken();
|
| @@ -397,7 +397,7 @@
|
|
|
| /** Static helper methods. */
|
| class TokenizerHelpers {
|
| -
|
| +
|
| static bool isIdentifierStart(int c) {
|
| return ((c >= 97/*a*/ && c <= 122/*z*/) || (c >= 65/*A*/ && c <= 90/*Z*/) || c == 95/*_*/);
|
| }
|
|
|