widl: Allow hexadecimal argument for version-attribute.

This commit is contained in:
Kai Tietz 2013-08-08 16:05:37 +02:00 committed by Alexandre Julliard
parent 60beb40cb7
commit 0d4f6bf258
1 changed files with 1 additions and 0 deletions

View File

@ -1111,6 +1111,7 @@ uniondef: tUNION t_ident '{' ne_union_fields '}'
version:
aNUM { $$ = MAKEVERSION($1, 0); }
| aNUM '.' aNUM { $$ = MAKEVERSION($1, $3); }
| aHEXNUM { $$ = $1; }
;
%%