mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use common function to discard comments in macro args
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user