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:
parent
6a88500af2
commit
78c5e3ab03
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue