forked from OSchip/llvm-project
Don't remove the find_rule label from FLEX output. It is needed by some
versions of FLEX even through we don't use REJECT. Thanks to Jeff Cohen for tracking this down. llvm-svn: 33085
This commit is contained in:
parent
ac99eca428
commit
582db976d8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue