[Bug 54484] New: Comma-separated variable declaration lists do no handle dependent initializers within the same list
https://bugs.winehq.org/show_bug.cgi?id=54484 Bug ID: 54484 Summary: Comma-separated variable declaration lists do no handle dependent initializers within the same list Product: vkd3d Version: 1.6 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 74035 --> https://bugs.winehq.org/attachment.cgi?id=74035 test See attached test. Currently it produces an error: E5005: Identifier "i" is not declared. This happens because earlier declared variables are not declared within the context, so when occurred in following initializers they are treated as NEW_IDENTIFIER, instead of VAR_IDENTIFIER. My understanding is that declarations are added to the context after whole list is processed, and that probably should change. -- 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=54484 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Comma-separated variable |Comma-separated variable |declaration lists do no |declaration lists do not |handle dependent |handle dependent |initializers within the |initializers within the |same list |same list -- 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=54484 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |49810 -- 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=54484 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |54926 -- 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=54484 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |62c891b7964e7c63146fb87af9a | |96f7efee1582c Status|NEW |RESOLVED --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- This is now fixed, https://source.winehq.org/git/vkd3d.git/commit/62c891b7964e7c63146fb87af9a96... -- 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=54484 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