shsajjadi / OctaveCoder

Octave Coder __ A code generator and build system that converts Octave to C++
Other
27 stars 3 forks source link

error in calling in function with unassigned and unused return value #5

Closed shsajjadi closed 3 years ago

shsajjadi commented 3 years ago

Consider this example:

    function out = test
    endfunction

If it is called as `> test an error is shown while in Octave it works without error.

shsajjadi commented 3 years ago

It is fixed here