about summary refs log tree commit diff stats
path: root/cpp/tangle/makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-21 15:11:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-21 16:26:57 -0700
commitc08e91ff5f7f55cda630ad000fdeadd8ba302cb0 (patch)
tree7afc69cccb8f4d5919d6040a0f740a47ad1b9a01 /cpp/tangle/makefile
parentd9cd13ad40db3f7cdf5dbb8c55af7b5aafc9c32f (diff)
downloadmu-c08e91ff5f7f55cda630ad000fdeadd8ba302cb0.tar.gz
1117 - redo entire tangler
Instead of adding a third-level hack for the new bug (failing test) with
multiple directives, I'm giving up on deducing #line directives
directly. Instead I'm going to maintain the file and line for every
single line as I read it, and then emit directives on their basis as a
post-processing step. This way tangling itself can remain oblivious to
line numbers, even if we're passing objects around rather than naked
strings.
Diffstat (limited to 'cpp/tangle/makefile')
-rw-r--r--cpp/tangle/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/tangle/makefile b/cpp/tangle/makefile
index 3d938c09..24485652 100644
--- a/cpp/tangle/makefile
+++ b/cpp/tangle/makefile
@@ -1,5 +1,5 @@
 tangle: makefile type_list function_list file_list test_file_list test_list
-	g++ -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
+	g++ -g -O3 -Wall -Wextra -fno-strict-aliasing boot.cc -o tangle
 
 type_list: boot.cc [0-9]*.cc
 	@# assumes struct decl has space before '{'