[PATCH] jscript: Implemented conditional compilation support for @if, @elif, @else and @end keywords.
Qian Hong
qhong at codeweavers.com
Fri Sep 26 00:17:58 CDT 2014
This patch improves QQDownload on Wine. Most of parser code and compiler
code for '@if statement' are implemented based on the Wine vbscript
implementation of 'if statement' since Microsoft JScript conditional
compilation '@if statement' shares similar syntax with vbscript 'if
statement'.
Testbot: https://testbot.winehq.org/JobDetails.pl?Key=9083
Any feedback is great appreciated!
---
dlls/jscript/compile.c | 64 ++++++++++++
dlls/jscript/engine.h | 16 +++
dlls/jscript/lex.c | 33 ++++---
dlls/jscript/parser.y | 56 ++++++++++-
dlls/jscript/tests/cc.js | 251
+++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 408 insertions(+), 12 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-jscript-Implemented-conditional-compilation-support-fo.txt
Type: text/x-patch
Size: 17983 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140926/bef49d8b/attachment-0001.bin>
More information about the wine-patches
mailing list