shsajjadi / OctaveCoder

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

code for private function's subfunction isn't generated #12

Closed shsajjadi closed 3 years ago

shsajjadi commented 3 years ago

If a private function has sub-functions the code generator cannot generate code for those local functions.

shsajjadi commented 3 years ago

My original wrong understanding was that private functions are like nested functions and local functions are subfunctions. Currently in Octavethe local functions of private functions are marked as private functions. The issue is fixed here.