commit b9fa54e11407e73ac2cafbd6309970dc475daf20
parent 56d9408bb233d616ae03ccd4d3da3e0fe8e5220e
Author: Quentin Rameau <quinq@fifth.space>
Date: Fri, 3 Jun 2016 12:51:41 +0200
[driver] add support for scc ir file as input
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
@@ -217,6 +217,8 @@ toolfor(char *file)
if (dot) {
if (!strcmp(dot, ".c"))
return CC1;
+ if (!strcmp(dot, ".ir"))
+ return CC2;
if (!strcmp(dot, ".qbe"))
return QBE;
if (!strcmp(dot, ".as"))