Rob Shearman : widl: Support hex digits that use an uppercase 0X prefix.
Alexandre Julliard
julliard at winehq.org
Mon Apr 28 08:01:19 CDT 2008
Module: wine
Branch: master
Commit: 62a64755934591850420b5c45b222637ca8cfef2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=62a64755934591850420b5c45b222637ca8cfef2
Author: Rob Shearman <rob at codeweavers.com>
Date: Sat Apr 26 09:51:47 2008 +0100
widl: Support hex digits that use an uppercase 0X prefix.
---
tools/widl/parser.l | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l
index 1e8460b..3bc2b62 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -27,7 +27,7 @@ ws [ \f\t\r]
cident [a-zA-Z_][0-9a-zA-Z_]*
int [0-9]+
hexd [0-9a-fA-F]
-hex 0x{hexd}+
+hex 0(x|X){hexd}+
uuid {hexd}{8}-{hexd}{4}-{hexd}{4}-{hexd}{4}-{hexd}{12}
double [0-9]+\.[0-9]+([eE][+-]?[0-9]+)*
More information about the wine-cvs
mailing list