Fix output for Flexing to not print full path of source.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-12-10 19:44:16 +00:00
parent 2480535c1f
commit c2ef8cd934

View File

@ -981,7 +981,7 @@ LexOutput := $(strip $(patsubst %.l,%.cpp,$(LexFiles)))
# this is a hack around it.
# FIXME. (f.e. char Buffer[10000] )
%.cpp: %.l
$(Echo) Flexing $<
$(Echo) Flexing $*.l
$(Verb) $(FLEX) -t $< | \
$(SED) 's/void yyunput/inline void yyunput/' | \
$(SED) 's/void \*yy_flex_realloc/inline void *yy_flex_realloc/' | \