Module: wine Branch: master Commit: 78dc4ce7a0eed9c0bdeeea95e4ce895582eca4df URL: https://gitlab.winehq.org/wine/wine/-/commit/78dc4ce7a0eed9c0bdeeea95e4ce895...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 20 13:36:14 2023 +0100
widl: Pass the correct parent name when opening an import file.
Fixed a regression from 9d537999e315a74ef559fabb79d5b632b8a00208.
---
tools/widl/parser.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l index a1be68d8bd9..44741d4d63a 100644 --- a/tools/widl/parser.l +++ b/tools/widl/parser.l @@ -543,7 +543,7 @@ void push_import( char *import_name ) import->name = xstrdup( import_name ); list_add_tail( &imports, &import->entry );
- input_name = find_input_file( import_name, input_name ); + input_name = find_input_file( import_name, state->input_name ); file = open_input_file( input_name ); line_number = 1;