]> git.sur5r.net Git - cc65/blobdiff - src/cc65/stmt.c
Remember more function infos in the Function struct.
[cc65] / src / cc65 / stmt.c
index b9b258aa09e365741b5263cf3d1e24d9e1715dfe..11ceadc4c5f4c19ecb4972a67a5d1f86c262262d 100644 (file)
@@ -314,7 +314,7 @@ static void ReturnStatement (void)
     }
 
     /* Mark the function as having a return statement */
-    F_HasReturn (CurrentFunc);
+    F_ReturnFound (CurrentFunc);
 
     /* Cleanup the stack in case we're inside a block with locals */
     g_space (StackPtr - F_GetTopLevelSP (CurrentFunc));