summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2017-07-25 20:49:17 -0500
committerBobby Bingham <koorogi@koorogi.info>2017-07-25 20:49:17 -0500
commitee78102672afdede839489fa0b1932b64335eaaf (patch)
tree1ba8f99a85165d8aa6556e3f32da19f89eba50bf
parent84f31d2352094b1aa0acf8f53dc0194cbec73c51 (diff)
move regex printing code to print-regex.c
-rw-r--r--Makefile2
-rw-r--r--print-regex.c (renamed from regex.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 91c36ad..79099ba 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ parse-%.c parse-%.h: parse-%.y
$(CC) $(CFLAGS) -c $< -o $@
pattern2regex.o: lex-pattern.h parse-pattern.h
-pattern2regex: pattern2regex.o lex-pattern.o parse-pattern.o ast.o regex.o
+pattern2regex: pattern2regex.o lex-pattern.o parse-pattern.o ast.o print-regex.o
$(TARGETS):
$(CC) $(CFLAGS) $^ -o $@
diff --git a/regex.c b/print-regex.c
index 02a58fa..02a58fa 100644
--- a/regex.c
+++ b/print-regex.c