[llvm-commits] CVS: llvm/Makefile.rules

Reid Spencer reid at x10sys.com
Wed Jan 3 11:56:30 PST 2007



Changes in directory llvm:

Makefile.rules updated: 1.417 -> 1.418
---
Log message:

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.


---
Diffs of the changes:  (+1 -0)

 Makefile.rules |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.417 llvm/Makefile.rules:1.418
--- llvm/Makefile.rules:1.417	Sat Dec 30 10:31:02 2006
+++ llvm/Makefile.rules	Wed Jan  3 13:56:14 2007
@@ -1264,6 +1264,7 @@
 	$(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
     






More information about the llvm-commits mailing list