Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
b4bb3931
Commit
b4bb3931
authored
1 year ago
by
Elizabeth Figura
Committed by
Alexandre Julliard
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
vkd3d-shader/preproc: Append spaces between tokens in macro invocations.
parent
250a24bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!291
vkd3d-shader/preproc: Various fixes.
Pipeline
#13270
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libs/vkd3d-shader/preproc.l
+3
-0
3 additions, 0 deletions
libs/vkd3d-shader/preproc.l
tests/preproc-macro.shader_test
+6
-0
6 additions, 0 deletions
tests/preproc-macro.shader_test
with
9 additions
and
0 deletions
libs/vkd3d-shader/preproc.l
+
3
−
0
View file @
b4bb3931
...
...
@@ -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;
}
}
...
...
This diff is collapsed.
Click to expand it.
tests/preproc-macro.shader_test
+
6
−
0
View file @
b4bb3931
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment