diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-03-03 20:34:44 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2022-06-27 21:13:31 +0200 |
commit | 9b302c133f02f96edc5caa769dfd21dc9ef038b5 (patch) | |
tree | 1a2bffd1de85eb55be93d2549d3a99a0013bebb1 /nest/a-set.c | |
parent | cde8094c1f81a74d8a434c4cbf41b4d9183e2879 (diff) |
Filter: Ensure that all expressions declared return type
All instructions with a return value (i.e. expressions, ones with
non-zero outval, third argument in INST()) should declare their return
type. Check that automatically by M4 macros.
Set outval of FI_RETURN to 0. The instruction adds one value to stack,
but syntactically it is a statement, not an expression.
Add fake return type declaration to FI_CALL, otherwise the automatic
check would fail builds.
Diffstat (limited to 'nest/a-set.c')
0 files changed, 0 insertions, 0 deletions