Use common function to discard comments in macro args

This commit is contained in:
ISSOtm
2020-08-18 16:49:21 +02:00
parent 9e3d7a50e6
commit ac011fe69f

View File

@@ -1667,10 +1667,8 @@ static int yylex_RAW(void)
case ';': /* Comments inside macro args */ case ';': /* Comments inside macro args */
if (insideString) if (insideString)
break; break;
do { discardComment();
shiftChars(1); c = peek(0);
c = peek(0);
} while (c != EOF && c != '\r' && c != '\n');
/* fallthrough */ /* fallthrough */
case ',': case ',':
case '\r': case '\r':