From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/tcsh/src/tiger_astclone.i | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tiger-compiler/tcsh/src/tiger_astclone.i (limited to 'tiger-compiler/tcsh/src/tiger_astclone.i') diff --git a/tiger-compiler/tcsh/src/tiger_astclone.i b/tiger-compiler/tcsh/src/tiger_astclone.i new file mode 100644 index 0000000..ca8438a --- /dev/null +++ b/tiger-compiler/tcsh/src/tiger_astclone.i @@ -0,0 +1,17 @@ +// -*- C++ -*- + +%module tiger_astclone + +%import "tiger_ast.i" + +%{ + #include + #include "swig_real_type.hh" +%} +%inline +{ + ast::Ast* clone(const ast::Ast& tree) + { + return astclone::clone(tree); + } +} -- cgit v1.2.3