diff --git a/m3-tools/pp/src/Parse.yacc b/m3-tools/pp/src/Parse.yacc index 55c8f60536..6902fbaf89 100644 --- a/m3-tools/pp/src/Parse.yacc +++ b/m3-tools/pp/src/Parse.yacc @@ -2392,7 +2392,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);