[PATCH 05/11] widl: Allow hexadecimal argument for version-attribute.

Kai Tietz ktietz70 at googlemail.com
Thu Aug 8 11:48:14 CDT 2013


Due line wrap, I sent patch as attachment.

Kai
-------------- next part --------------
From 97384d2d5905fcf6fb09be3b8ae92e49f018b46c Mon Sep 17 00:00:00 2001
From: Kai Tietz <ktietz70 at googlemail.com>
Date: Thu, 8 Aug 2013 16:05:37 +0200
Subject: [PATCH 05/11] widl: Allow hexadecimal argument for
 version-attribute.

---
 tools/widl/parser.y |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index e4f4bf8..a653101 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1111,6 +1111,7 @@ uniondef: tUNION t_ident '{' ne_union_fields '}'
 version:
 	  aNUM					{ $$ = MAKEVERSION($1, 0); }
 	| aNUM '.' aNUM				{ $$ = MAKEVERSION($1, $3); }
+	| aHEXNUM				{ $$ = $1; }
 	;
 
 %%
-- 
1.7.9


More information about the wine-patches mailing list