From 61f3e43fb676641eee0e2d4c66dc7fe62272f4a8 Mon Sep 17 00:00:00 2001 From: Kugel Fuhr <98353208+kugelfuhr@users.noreply.github.com> Date: Thu, 17 Jul 2025 20:52:33 +0200 Subject: [PATCH] Rewrote an outdated comment. --- src/cc65/stmt.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cc65/stmt.h b/src/cc65/stmt.h index 2b91d06bf..eaaf235d5 100644 --- a/src/cc65/stmt.h +++ b/src/cc65/stmt.h @@ -47,12 +47,13 @@ ** analysis and tracks occurance of "return", "break", "goto" and "continue" ** (anything that jumps). The flags for the distinct statements are only set ** if they are always executed. So for example in case of an if/else statement, -** SF_RETURN is set only if both branches contain a "return". The SF_ANY flag -** is set of any of the statements occurred. So for an if/else statement, if -** one branch contains a "return" and the other a "continue" statement, neither -** SF_RETURN, nor SF_CONTINUE is set, but SF_ANY. +** SF_RETURN is set only if both branches contain a "return". The SF_ANY_xxx +** flags are set if any of the statements occurred. So for an if/else +** statement, if one branch contains a "return" and the other a "continue" +** statement, neither SF_RETURN, nor SF_CONTINUE is set, but SF_ANY_RETURN and +** SF_ANY_CONTINUE. ** There are some additional flags that tell if the statement parsed was -** preceeded by at least one label. These flags do not also set SF_ANY. +** preceeded by at least one label. */ enum { SF_NONE = 0x0000, @@ -138,7 +139,6 @@ static inline int SF_Label (int F) - /*****************************************************************************/ /* Code */ /*****************************************************************************/