Don't remove the find_rule label from FLEX output. It is needed by some
authorReid Spencer <rspencer@reidspencer.com>
Thu, 11 Jan 2007 21:40:25 +0000 (21:40 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 11 Jan 2007 21:40:25 +0000 (21:40 +0000)
versions of FLEX even through we don't use REJECT. Thanks to Jeff Cohen
for tracking this down.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33085 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 787a012c598f4e031fb5b7485107a3aaf123e88f..93a01932e7b3b41066a97dadccae73ceb14ffd98 100644 (file)
@@ -1264,7 +1264,6 @@ $(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