Skip to content

Commit 2910be4

Browse files
committed
add slim check for function macros
1 parent da1c804 commit 2910be4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/src/dmd/cparse.d

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5729,6 +5729,9 @@ final class CParser(AST) : Parser!AST
57295729
}
57305730

57315731
nextToken();
5732+
if (token.value == TOK.leftParenthesis) // in case we are evaluating a func
5733+
goto caseFunctionLike;
5734+
57325735
if (token.value != TOK.endOfFile)
57335736
{
57345737
++p;

0 commit comments

Comments
 (0)