Add user static array field support (with recursion)
[deliverable/barectf.git] / barectf / templates / c / serialize-write-skip-save-statements.j2
index 5a5e332c5059dfc27c2a5ea804bf6db938eda379..755b2eb07112361cb04b96fd8d4b4960373a957f 100644 (file)
@@ -23,6 +23,6 @@
  # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  #}
 {% import 'c/common.j2' as c_common %}
-/* do not write `{{ op.top_name }}` field; save its offset */
-sctx->off_{{ c_common.op_src(op) }} = ctx->at;
+/* Do not write `{{ op.top_name }}` field; save its offset */
+sctx->off_{{ op | op_src_var_name }} = ctx->at;
 ctx->at += {{ op.ft.size }};
This page took 0.035041 seconds and 4 git commands to generate.