[Bug 55361] New: Preprocessor does not handle macros used from other macros
https://bugs.winehq.org/show_bug.cgi?id=55361 Bug ID: 55361 Summary: Preprocessor does not handle macros used from other macros Product: vkd3d Version: 1.8 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs(a)winehq.org Reporter: bunglehead(a)gmail.com Distribution: --- Created attachment 74941 --> https://bugs.winehq.org/attachment.cgi?id=74941 test Attaching a test that currently fails with: E5005: Identifier "a" is not declared. Preprocessed function looks like this: vkd3d:547664:trace:preproc_lexer_parse float4 func ( float4 arg ) vkd3d:547664:trace:preproc_lexer_parse { vkd3d:547664:trace:preproc_lexer_parse return ( ( a . r ) + arg . b ) ; vkd3d:547664:trace:preproc_lexer_parse } So nested macro is using argument name as is, instead of using actual name that outer macro was use with. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55361 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55361 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3a235b57f6db30d877400144f9c | |1082c254bbd1c Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Fixed with https://source.winehq.org/git/vkd3d.git/commit/3a235b57f6db30d877400144f9c10.... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=55361 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Closing bugs fixed in 1.9. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla