1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

widl: Define PARSER_LTYPE instead of api.location.type.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54729
This commit is contained in:
Rémi Bernon 2023-03-25 13:31:57 +01:00 committed by Alexandre Julliard
parent 6a88500af2
commit 78c5e3ab03

View file

@ -106,6 +106,13 @@ static typelib_t *current_typelib;
%}
%code requires
{
#define PARSER_LTYPE struct location
}
%code provides
{
@ -119,7 +126,6 @@ void pop_import( PARSER_LTYPE *yylloc );
}
%define api.location.type {struct location}
%define api.prefix {parser_}
%define api.pure full
%define parse.error verbose