Skip to content
Snippets Groups Projects
Commit b4bb3931 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

vkd3d-shader/preproc: Append spaces between tokens in macro invocations.

parent 250a24bd
No related branches found
No related tags found
1 merge request!291vkd3d-shader/preproc: Various fixes.
Pipeline #13270 skipped
......@@ -746,6 +746,9 @@ int yylex(YYSTYPE *lval, YYLTYPE *lloc, yyscan_t scanner)
if (current_arg)
preproc_text_add(current_arg, text);
}
if (current_arg)
preproc_text_add(current_arg, " ");
break;
}
}
......
......@@ -311,3 +311,9 @@ apple # KEY
#define KEY(a) KEY2(a)
KEY(pa)
[preproc]
#define KEY2(x) x
#define KEY KEY2(fa il)
KEY
pass
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment