summaryrefslogtreecommitdiff
path: root/soltools/cpp/_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/cpp/_lex.c')
-rw-r--r--soltools/cpp/_lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c
index a8f874d6d464..de18fd50045a 100644
--- a/soltools/cpp/_lex.c
+++ b/soltools/cpp/_lex.c
@@ -492,6 +492,7 @@ continue2:
case S_STNL:
error(ERROR, "Unterminated string or char const");
+ /* fall through */
case S_NL:
tp->t = ip;
tp->type = NL;
@@ -516,6 +517,7 @@ continue2:
case S_EOFCOM:
error(WARNING, "EOF inside comment");
--ip;
+ /* fall through */
case S_COMMENT:
if (!Cflag)
{