summaryrefslogtreecommitdiffstats
path: root/tools/gn/token.h
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-19 20:53:01 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-19 20:53:01 +0000
commit02f80b7460000ee7742fe44b38c2187f45b353fa (patch)
treef4e0d1765f2f4998c6d724ca12b55456120e06ae /tools/gn/token.h
parentb320e219b966a297fe147684a95fc69f1d8036d4 (diff)
downloadchromium_src-02f80b7460000ee7742fe44b38c2187f45b353fa.zip
chromium_src-02f80b7460000ee7742fe44b38c2187f45b353fa.tar.gz
chromium_src-02f80b7460000ee7742fe44b38c2187f45b353fa.tar.bz2
GN: remove NEWLINE token type and break expressions based on grammar
I think this covers all the cases we talked about, and gets rid of the ugliness of the newlines in tokenizer. R=brettw@chromium.org Review URL: https://codereview.chromium.org/23283006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/token.h')
-rw-r--r--tools/gn/token.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gn/token.h b/tools/gn/token.h
index 24bcd87..3a572cd 100644
--- a/tools/gn/token.h
+++ b/tools/gn/token.h
@@ -43,7 +43,6 @@ class Token {
IDENTIFIER, // foo
COMMA, // ,
COMMENT, // #...\n
- NEWLINE,
UNCLASSIFIED_OPERATOR, // TODO(scottmg): This shouldn't be necessary.