Rob Shearman : widl: Return a pointer to the correct part of the string from the lexer for WSTRQUOTE tokens .
Alexandre Julliard
julliard at winehq.org
Tue Mar 23 12:12:50 CDT 2010
Module: wine
Branch: master
Commit: 8a8fff6415e7e03c4c51b3abbabac816208563f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8a8fff6415e7e03c4c51b3abbabac816208563f8
Author: Rob Shearman <robertshearman at gmail.com>
Date: Tue Mar 23 13:33:51 2010 +0000
widl: Return a pointer to the correct part of the string from the lexer for WSTRQUOTE tokens.
---
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 0d231fc..bcf7436 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -150,7 +150,7 @@ UUID *parse_uuid(const char *u)
parser_lval.str = get_buffered_cstring();
return aSTRING;
}
-<INITIAL,ATTR>L\" yy_push_state(WSTRQUOTE);
+<INITIAL,ATTR>L\" yy_push_state(WSTRQUOTE); cbufidx = 0;
<WSTRQUOTE>\" {
yy_pop_state();
parser_lval.str = get_buffered_cstring();
More information about the wine-cvs
mailing list