forked from OSchip/llvm-project
While I'm looking at it, line up the SED lines
llvm-svn: 7572
This commit is contained in:
parent
7d0adf79ec
commit
b3aae61c5f
|
@ -767,8 +767,9 @@ YACC_OUTPUT = $(addprefix $(YACC_FILES:%.y=%), .h .cpp .output)
|
||||||
#
|
#
|
||||||
%.cpp: %.l
|
%.cpp: %.l
|
||||||
@echo Flex\'ing $<...
|
@echo Flex\'ing $<...
|
||||||
$(VERB) $(FLEX) -t $< | $(SED) '/^find_rule/d' | \
|
$(VERB) $(FLEX) -t $< | \
|
||||||
$(SED) 's/void yyunput/inline void yyunput/' | \
|
$(SED) '/^find_rule/d' | \
|
||||||
|
$(SED) 's/void yyunput/inline void yyunput/' | \
|
||||||
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
|
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
|
||||||
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
|
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
|
||||||
> $@.tmp
|
> $@.tmp
|
||||||
|
|
|
@ -767,8 +767,9 @@ YACC_OUTPUT = $(addprefix $(YACC_FILES:%.y=%), .h .cpp .output)
|
||||||
#
|
#
|
||||||
%.cpp: %.l
|
%.cpp: %.l
|
||||||
@echo Flex\'ing $<...
|
@echo Flex\'ing $<...
|
||||||
$(VERB) $(FLEX) -t $< | $(SED) '/^find_rule/d' | \
|
$(VERB) $(FLEX) -t $< | \
|
||||||
$(SED) 's/void yyunput/inline void yyunput/' | \
|
$(SED) '/^find_rule/d' | \
|
||||||
|
$(SED) 's/void yyunput/inline void yyunput/' | \
|
||||||
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
|
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \
|
||||||
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
|
$(SED) 's/#define YY_BUF_SIZE 16384/#define YY_BUF_SIZE (16384*64)/' \
|
||||||
> $@.tmp
|
> $@.tmp
|
||||||
|
|
Loading…
Reference in New Issue