Module: wine Branch: master Commit: 73e192a6b3885b131f1284ebfea47a0b9a3b7ab5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=73e192a6b3885b131f1284ebfe...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Aug 28 23:53:05 2009 +0200
jscript: Use proper VARIANT_BOOL values in bool literals.
---
dlls/jscript/parser.y | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/parser.y b/dlls/jscript/parser.y index 748a06a..57f0744 100644 --- a/dlls/jscript/parser.y +++ b/dlls/jscript/parser.y @@ -812,8 +812,8 @@ Literal
/* ECMA-262 3rd Edition 7.8.2 */ BooleanLiteral - : kTRUE { $$ = new_boolean_literal(ctx, TRUE); } - | kFALSE { $$ = new_boolean_literal(ctx, FALSE); } + : kTRUE { $$ = new_boolean_literal(ctx, VARIANT_TRUE); } + | kFALSE { $$ = new_boolean_literal(ctx, VARIANT_FALSE); }
semicolon_opt : ';'