diff --git a/m3-tools/pp/src/flex-bison/y.tab.c b/m3-tools/pp/src/flex-bison/y.tab.c index ece8ccb48b..6d56c5268d 100644 --- a/m3-tools/pp/src/flex-bison/y.tab.c +++ b/m3-tools/pp/src/flex-bison/y.tab.c @@ -5946,7 +5946,7 @@ HandleComments(firstTime, initNPS, doBreak) /* Emit the word. */ while (!IsWhite(*s) && *s != 0) P(*s++); - sentenceBreak = index(".!?", s[-1]) != 0; + sentenceBreak = strchr(".!?", s[-1]) != 0; } } Formatter__SetFont(formatter, fonts->body);