summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-03 19:56:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-03 19:56:14 +0000
commitf0e76cf1dc9d04f867ccbea4479e143700620eaf (patch)
treeb4a6f732713d84734b0b74a2936d07ff2a298dd9 /Makefile.rules
parentc9d3471d07ec220bd9458449149e33eb6d20b9c8 (diff)
downloadllvm-f0e76cf1dc9d04f867ccbea4479e143700620eaf.tar.gz
llvm-f0e76cf1dc9d04f867ccbea4479e143700620eaf.tar.bz2
llvm-f0e76cf1dc9d04f867ccbea4479e143700620eaf.tar.xz
Remove the find_rule label from the output of flex. This will break any
use of the REJECT macro but we don't use it. This just hushes up a warning in the presence of -Wno-unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 93a01932e7..787a012c59 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1264,6 +1264,7 @@ $(PROJ_SRC_DIR)/%.cpp: $(PROJ_SRC_DIR)/%.l
$(Verb) $(FLEX) -t $(PROJ_SRC_DIR)/$*.l | \
$(SED) 's/void yyunput/inline void yyunput/' | \
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
+ $(SED) 's/^find_rule: \/\* we branch.*//' | \
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
> $(PROJ_SRC_DIR)/$*.cpp