diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-20 17:23:15 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-20 17:23:15 +0000 |
commit | ed7d2be27e2da30e0bd02e7a2e81836494216244 (patch) | |
tree | 0732321571a2c6988f65c97e05fddf3e01573649 /tools/gn/token.h | |
parent | cc2bc98c9fc54a6764a44bc71f0b3f984f9aae48 (diff) | |
download | chromium_src-ed7d2be27e2da30e0bd02e7a2e81836494216244.zip chromium_src-ed7d2be27e2da30e0bd02e7a2e81836494216244.tar.gz chromium_src-ed7d2be27e2da30e0bd02e7a2e81836494216244.tar.bz2 |
Add support for boolean values to GN.
I removed support for implicit conversions of any type.
BUG=
R=scottmg@chromium.org
Review URL: https://codereview.chromium.org/23033013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/token.h')
-rw-r--r-- | tools/gn/token.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gn/token.h b/tools/gn/token.h index 4af7e62..25f176b 100644 --- a/tools/gn/token.h +++ b/tools/gn/token.h @@ -14,6 +14,8 @@ class Token { INVALID, INTEGER, // 123 STRING, // "blah" + TRUE_TOKEN, // Not "TRUE" to avoid collisions with #define in windows.h. + FALSE_TOKEN, // Various operators. EQUAL, |