aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-22 20:49:04 +0000
committerChris Lattner <sabre@nondot.org>2007-11-22 20:49:04 +0000
commitf460165a4c1bf4bc762f9b3f12b9ed284b89cc99 (patch)
tree682aa3de3d166b50c3025180826f14903bbd5e1e /utils/TableGen/Makefile
parented4a2f168873527e1737deaa7a0c6c045a2cff7d (diff)
Rewrite the tblgen parser in a recursive descent style, eliminating the bison parser.
This makes the parser much easier to understand, eliminates a ton of global variables, and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't care about performance. There are a couple of FIXMEs which I will take care of next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Makefile')
-rw-r--r--utils/TableGen/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile
index 128b2cdd0d..739a5b72e8 100644
--- a/utils/TableGen/Makefile
+++ b/utils/TableGen/Makefile
@@ -11,20 +11,8 @@ LEVEL = ../..
TOOLNAME = tblgen
NO_INSTALL = 1;
USEDLIBS = LLVMSupport.a LLVMSystem.a
-EXTRA_DIST = FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
REQUIRES_EH := 1
REQUIRES_RTTI := 1
include $(LEVEL)/Makefile.common
-# Disable -pedantic for tblgen
-CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
-CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
-
-#
-# Make the source file depend on the header file. In this way, dependencies
-# (which depend on the source file) won't get generated until bison is done
-# generating the C source and header files for the parser.
-#
-$(ObjDir)/TGLexer.o : $(PROJ_SRC_DIR)/FileParser.h
-