[hackers] [scc] [driver] add support for scc ir file as input || Quentin Rameau
commit b9fa54e11407e73ac2cafbd6309970dc475daf20
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Fri Jun 3 12:51:41 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Fri Jun 3 12:51:41 2016 +0200
[driver] add support for scc ir file as input
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 7c1a57a..469662c 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -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"))
Received on Fri Jun 03 2016 - 12:52:22 CEST
This archive was generated by hypermail 2.3.0
: Fri Jun 03 2016 - 13:00:18 CEST