aboutsummaryrefslogtreecommitdiff
path: root/projects/Stacker/lib/compiler/Lexer.l
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-31 03:49:47 +0000
committerChris Lattner <sabre@nondot.org>2004-03-31 03:49:47 +0000
commit91ef460285021b5bf43b3850f0f8958a09b8939c (patch)
tree8be960ee89ea7b68ba8977e7a202304ce3b20afe /projects/Stacker/lib/compiler/Lexer.l
parent1438102576b94d6dac9bb18e8df291c4d632572d (diff)
Avoid TRUE and FALSE which apparently conflict with some macros on OSX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker/lib/compiler/Lexer.l')
-rw-r--r--projects/Stacker/lib/compiler/Lexer.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/projects/Stacker/lib/compiler/Lexer.l b/projects/Stacker/lib/compiler/Lexer.l
index 6087f883e5..65f1a972d6 100644
--- a/projects/Stacker/lib/compiler/Lexer.l
+++ b/projects/Stacker/lib/compiler/Lexer.l
@@ -117,10 +117,10 @@ OutChar \>c
{Colon} { return COLON; }
{Semi} { return SEMI; }
-TRUE { return TRUE; }
-FALSE { return FALSE; }
-ON { return TRUE; }
-OFF { return FALSE; }
+TRUE { return TRUETOK; }
+FALSE { return FALSETOK; }
+ON { return TRUETOK; }
+OFF { return FALSETOK; }
{Less} { return LESS; }
LT { return LESS; }
{More} { return MORE; }