function_pragma not resolving in function definitions
In the sac syntax I'm supposed to be able to use function_pragma in function definitions, but I can't seem to figure out how.
From what I can tell this is the way I would do it
float[d:shp] test_add(float [d:shp] x, float [d:shp] y)
#pragma noinline
{
return x + y;
}
but I get the error
//home/uni/code/internship/onnx-sac/onnx-sac/main.sac:6: error:
5. float[d:shp] test_add(float [d:shp] x, float [d:shp] y)
→ 6. #pragma noinline
7. {
8. return x + y;
function body or semicolon expected
Am I doing something wrong?