Add support for nested functions
Submitted by pancake
Link to original bug (#684015)
Description
Nested functions can be useful in order to reduce visibility of functions and split the functionality into several pieces instead of having lot of functions.
This feature can be implemented by prefixing the parent function name with the inner one:
void main () { void fun() { print ("one\n"); } fun(); }
that would result in having "static void main_fun()". I think using this naming conventions is quite sane because having a nested function and an external function with that name would be conceptually confusing.