foralex / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

Returning from a void function doesn't work #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
zik@initech:~/work/picoc$ ./picoc -i
starting picoc
picoc> void joe()
     > {
     > return;
     > }
picoc> joe();
picoc: heap.c:89: HeapPopStack: Assertion `HeapStackTop == Addr' failed.
Aborted

Original issue reported on code.google.com by zik.sale...@gmail.com on 3 Jun 2009 at 12:24

GoogleCodeExporter commented 9 years ago
Fixed in r327

Original comment by zik.sale...@gmail.com on 3 Jun 2009 at 5:25