Wooo passthrough and more cleanup! Remove 3rd pass!

This commit is contained in:
Nathan Braswell
2015-03-24 18:29:21 -04:00
parent 48dc1f8e4d
commit 414113f954
8 changed files with 67 additions and 52 deletions

View File

@@ -0,0 +1,11 @@
__if_comp__ __C__ __simple_passthrough__ """
#include <stdio.h>
int diff = 7;
"""
|void| print_it() {
__if_comp__ __C__ __simple_passthrough__ """
printf("diff_file: %d\n", diff);
"""
}

View File

@@ -0,0 +1,2 @@
same_file: 5
diff_file: 7

View File

@@ -0,0 +1,19 @@
import c_passthrough_diff
__if_comp__ __C__ __simple_passthrough__ """
#include <stdio.h>
int same = 5;
"""
|int| main() {
__if_comp__ __C__ __simple_passthrough__ """
printf("same_file: %d\n", same);
"""
c_passthrough_diff::print_it()
return 0
}