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 */
if (insideString)
break;
do {
shiftChars(1);
discardComment();
c = peek(0);
} while (c != EOF && c != '\r' && c != '\n');
/* fallthrough */
case ',':
case '\r':