Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c5183bb5
Commit
c5183bb5
authored
Sep 17, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Use BOOL instead of VARIANT_BOOL in lexer.
parent
6920b289
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
engine.h
dlls/jscript/engine.h
+2
-2
lex.c
dlls/jscript/lex.c
+3
-3
No files found.
dlls/jscript/engine.h
View file @
c5183bb5
...
...
@@ -262,7 +262,7 @@ typedef struct {
union
{
double
dval
;
const
WCHAR
*
wstr
;
VARIANT_
BOOL
bval
;
BOOL
bval
;
struct
{
const
WCHAR
*
str
;
DWORD
str_len
;
...
...
@@ -272,7 +272,7 @@ typedef struct {
}
literal_t
;
literal_t
*
parse_regexp
(
parser_ctx_t
*
)
DECLSPEC_HIDDEN
;
literal_t
*
new_boolean_literal
(
parser_ctx_t
*
,
VARIANT_
BOOL
)
DECLSPEC_HIDDEN
;
literal_t
*
new_boolean_literal
(
parser_ctx_t
*
,
BOOL
)
DECLSPEC_HIDDEN
;
typedef
struct
_variable_declaration_t
{
const
WCHAR
*
identifier
;
...
...
dlls/jscript/lex.c
View file @
c5183bb5
...
...
@@ -380,7 +380,7 @@ static literal_t *new_double_literal(parser_ctx_t *ctx, DOUBLE d)
return
ret
;
}
literal_t
*
new_boolean_literal
(
parser_ctx_t
*
ctx
,
VARIANT_
BOOL
bval
)
literal_t
*
new_boolean_literal
(
parser_ctx_t
*
ctx
,
BOOL
bval
)
{
literal_t
*
ret
=
parser_alloc
(
ctx
,
sizeof
(
literal_t
));
...
...
@@ -749,7 +749,7 @@ static int next_token(parser_ctx_t *ctx, void *lval)
struct
_cc_var_t
{
BOOL
is_num
;
union
{
VARIANT_
BOOL
b
;
BOOL
b
;
DOUBLE
n
;
}
u
;
struct
_cc_var_t
*
next
;
...
...
@@ -822,7 +822,7 @@ static int init_cc(parser_ctx_t *ctx)
cc
->
vars
=
NULL
;
v
.
is_num
=
FALSE
;
v
.
u
.
b
=
VARIANT_
TRUE
;
v
.
u
.
b
=
TRUE
;
if
(
!
add_cc_var
(
cc
,
_jscriptW
,
&
v
)
||
!
add_cc_var
(
cc
,
sizeof
(
void
*
)
==
8
?
_win64W
:
_win32W
,
&
v
)
||
!
add_cc_var
(
cc
,
sizeof
(
void
*
)
==
8
?
_amd64W
:
_x86W
,
&
v
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment