Broke out OUT and FUNCTION to silence a single GCC warning
This commit is contained in:
parent
51b8b275fd
commit
95b1fe029f
|
@ -27,6 +27,7 @@ Changed ordering in declare_function to reduce stack operations
|
|||
Converted weird_string collection into a simpler form
|
||||
Inlined 2 small stubs as breaking them out wouldn't help implementation
|
||||
Reordered conditionals for easier implementation and reduced operations
|
||||
Broke out OUT and FUNCTION to silence a single GCC warning
|
||||
|
||||
** Fixed
|
||||
Fixed detection of locals to screen out all non-primitive name space collisions
|
||||
|
|
4
cc.c
4
cc.c
|
@ -23,7 +23,7 @@
|
|||
void initialize_types();
|
||||
struct token_list* read_all_tokens(FILE* a, struct token_list* current, char* filename);
|
||||
struct token_list* reverse_list(struct token_list* head);
|
||||
struct token_list* program(struct token_list* out);
|
||||
struct token_list* program();
|
||||
void recursive_output(struct token_list* i, FILE* out);
|
||||
int match(char* a, char* b);
|
||||
void file_print(char* s, FILE* f);
|
||||
|
@ -105,7 +105,7 @@ int main(int argc, char** argv)
|
|||
|
||||
initialize_types();
|
||||
reset_hold_string();
|
||||
struct token_list* output_list = program(NULL);
|
||||
struct token_list* output_list = program();
|
||||
|
||||
/* Output the program we have compiled */
|
||||
file_print("\n# Core program\n", destination_file);
|
||||
|
|
|
@ -9,7 +9,7 @@ b45fae655b7f848b28ebdb8eb2e30ae789fbcf7920bc315395d53986bb1adae4 test/results/t
|
|||
d511db73158a9544a5b5f828a79751e3de8a04b81c143fd0c146fc22c938aa9f test/results/test08-binary
|
||||
907e1808f2e2b15ac72ebf13898b15c678e68ebd43d673dcd0f408d907e7962f test/results/test09-binary
|
||||
ef179cd359ba1d61d45089e314cd4ac2069c8dc4dd7494d7c766344ea3c8cf88 test/results/test10-binary
|
||||
ad7b4ade77bd67ff27fcb1618a2d5ffab2c30b8001cf0a87f6454788eb776b4c test/results/test100-binary
|
||||
0c76566ec86a381af8f2a1eb38bcb48d7dcaeaaa2bb03599b0b3043ad546e657 test/results/test100-binary
|
||||
5aaf399fe706d4a8c85c121c75ada29a65c293b57c98e8999961a2ef0bab0d62 test/results/test11-binary
|
||||
4f8111e73e07255ae203963438c82ea8bcff7474e1594b52b426c58a03cb30eb test/results/test12-binary
|
||||
dd74dabfdce8657ff440c1eef531cbf67a64854f2020d4d6bcb65c9cc2d199cb test/results/test13-binary
|
||||
|
|
|
@ -1 +1 @@
|
|||
43e93076637d39751dbfbe2e32c0200dc99e51c4a993ce7720193bc651220515 test/test100/proof
|
||||
51c04355c67377e568bb99ee66dce3318a2ac8f9f0b1d86c9021f6f46a2ea5bf test/test100/proof
|
||||
|
|
Loading…
Reference in New Issue