F diff --git a/src/backend/asm/intel/intel_asm.h b/src/backend/asm/intel/intel_asm.h
--- a/src/backend/asm/intel/intel_asm.h
+++ b/src/backend/asm/intel/intel_asm.h
#include <program.h>
#include <queue.h>
#include <ast.h>
+ #include <value.h>
struct Compile_Data_Intel_Asm
void push_intel_asm_instruction(struct Compile_Data_Intel_Asm *compile_data,struct Intel_Asm_Instruction *instruction);
+ struct Intel_Asm_Memory_Location* reserve_space_for_value_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct Expression_Value *value);
+ void free_space_taken_for_value_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct Intel_Asm_Memory_Location *location);
+ void memcpy_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct Intel_Asm_Memory_Location *destination,struct Intel_Asm_Memory_Location *source);
+ void extract_value_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct Intel_Asm_Memory_Location *location);
+
+ void push_declaration_on_stack_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct AST_Object_Declaration *declaration);
+ void release_stack_space_for_whole_block_intel_asm(struct Compile_Data_Intel_Asm *compile_data,struct Scope *scope);
+
+
+ void enter_function_intel_asm(struct Compile_Data_Intel_Asm *compile_data);
+ void leave_function_intel_asm(struct Compile_Data_Intel_Asm *compile_data);
+
#endif
F diff --git a/src/debug/wobler/wobler_tests.h b/src/debug/wobler/wobler_tests.h
--- a/src/debug/wobler/wobler_tests.h
+++ b/src/debug/wobler/wobler_tests.h
.how_much_time_should_execution_take=0.01,
},
{
+ .filenames={"test_preproc_error.c"},
+ .test_function=should_not_compile,
+ .how_much_time_should_execution_take=0.01,
+ },
+ {
.filenames={"test_declaration.c"},
.test_function=should_compile,
.how_much_time_should_execution_take=0.01,
},
{
.filenames={"test_bitfields.c"},
- .test_function=should_not_compile,
+ .test_function=should_compile,
.how_much_time_should_execution_take=0.01,
},
{
F diff --git a/tests/test_preproc_error.c b/tests/test_preproc_error.c
new file mode 100644
--- /dev/null
+++ b/tests/test_preproc_error.c
+ #error "this is an error thrown by a preprocessing directive"
+
+ /*boiler plate*/
+ int main()
+ {
+
+ return 0;
+ }