Commit e5eb40e6 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix bugs for test22

parent 15907cdb
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
@@-- @_Remote_Interface_Names_@ : |_ callee's interface name @@-- @_Remote_Interface_Names_@ : |_ callee's interface name
@@-- @_Calling_Threads_@ : Calling threads of the containing block @@-- @_Calling_Threads_@ : Calling threads of the containing block
// Required interface @_Name_@ in function @_Parent_Function_@ // Required interface @_Name_@ in function @_Parent_Function_@
@@IF@@ @_Param_Names'Length_@ = 0
@@SET@@ No_Param=True
@@END_IF@@
@@IF@@ @_Param_Names'Length_@ = 0 @@IF@@ @_Param_Names'Length_@ = 0
void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@(void) void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@(void)
@@ELSE@@ @@ELSE@@
...@@ -56,9 +59,6 @@ size_IN_buf_@_LOWER:Param_Names_@; ...@@ -56,9 +59,6 @@ size_IN_buf_@_LOWER:Param_Names_@;
@@END_TABLE@@ @@END_TABLE@@
// calling threads: @_Calling_Threads_@ partition: @_Partition_Name_@ // calling threads: @_Calling_Threads_@ partition: @_Partition_Name_@
@@ELSIF@@ @_Kind_@ = UNPROTECTED_OPERATION @@ELSIF@@ @_Kind_@ = UNPROTECTED_OPERATION
@@IF@@ @_Param_Names'Length_@ = 0
@@SET@@ No_Param=True
@@END_IF@@
// Unprotected call // Unprotected call
@@TABLE@@ @@TABLE@@
@@IF@@ @_No_Param_@ @@IF@@ @_No_Param_@
...@@ -79,6 +79,9 @@ size_IN_buf_@_LOWER:Param_Names_@; ...@@ -79,6 +79,9 @@ size_IN_buf_@_LOWER:Param_Names_@;
@@ELSE@@ @@-- Protected call @@ELSE@@ @@-- Protected call
// puts("[TASTE] Protected call of @_Name_@"); // puts("[TASTE] Protected call of @_Name_@");
@@TABLE@@ @@TABLE@@
@@IF@@ @_No_Param_@
pro_@_LOWER:Remote_Function_Names_@_@_Remote_Interface_Names_@();
@@ELSE@@
pro_@_LOWER:Remote_Function_Names_@_@_Remote_Interface_Names_@ pro_@_LOWER:Remote_Function_Names_@_@_Remote_Interface_Names_@
@@INLINE( \()(,\n )(\);\n)@@ @@INLINE( \()(,\n )(\);\n)@@
@@TABLE@@ @@TABLE@@
...@@ -89,6 +92,7 @@ size_IN_buf_@_LOWER:Param_Names_@; ...@@ -89,6 +92,7 @@ size_IN_buf_@_LOWER:Param_Names_@;
@@END_IF@@ @@END_IF@@
@@END_TABLE@@ @@END_TABLE@@
@@END_INLINE@@ @@END_INLINE@@
@@END_IF@@
@@END_TABLE@@ @@END_TABLE@@
@@END_IF@@ @@END_IF@@
} }
......
KAZOO=../../kazoo KAZOO=../../kazoo
all: test-parse all: test-parse
cd output && make $(MAKE) -C output.pohic
test-parse: clean test-parse: clean
$(KAZOO) --gw \ $(KAZOO) --gw -p \
-o output \ -o output.pohic \
--glue \ --glue \
--debug --debug
clean: clean:
rm -rf output rm -rf output.pohic
.PHONY: clean test-parse .PHONY: clean test-parse
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment