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
e273636d
Commit
e273636d
authored
May 12, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
May 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Make flags parameter of OP_regexp unsigned.
parent
0d5defaf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
compile.c
dlls/jscript/compile.c
+1
-1
engine.c
dlls/jscript/engine.c
+1
-1
engine.h
dlls/jscript/engine.h
+1
-1
No files found.
dlls/jscript/compile.c
View file @
e273636d
...
...
@@ -733,7 +733,7 @@ static HRESULT compile_literal(compiler_ctx_t *ctx, literal_t *literal)
return
E_OUTOFMEMORY
;
instr_ptr
(
ctx
,
instr
)
->
arg1
.
str
=
str
;
instr_ptr
(
ctx
,
instr
)
->
arg2
.
lng
=
literal
->
u
.
regexp
.
flags
;
instr_ptr
(
ctx
,
instr
)
->
arg2
.
uint
=
literal
->
u
.
regexp
.
flags
;
return
S_OK
;
}
default:
...
...
dlls/jscript/engine.c
View file @
e273636d
...
...
@@ -1206,7 +1206,7 @@ static HRESULT interp_str(exec_ctx_t *ctx)
static
HRESULT
interp_regexp
(
exec_ctx_t
*
ctx
)
{
const
WCHAR
*
source
=
ctx
->
code
->
instrs
[
ctx
->
ip
].
arg1
.
str
;
const
LONG
flags
=
get_op_
int
(
ctx
,
1
);
const
unsigned
flags
=
get_op_u
int
(
ctx
,
1
);
jsdisp_t
*
regexp
;
VARIANT
v
;
HRESULT
hres
;
...
...
dlls/jscript/engine.h
View file @
e273636d
...
...
@@ -90,7 +90,7 @@ typedef struct {
X(preinc, 1, ARG_INT, 0) \
X(push_except,1, ARG_ADDR, ARG_BSTR) \
X(push_scope, 1, 0,0) \
X(regexp, 1, ARG_STR, ARG_
INT)
\
X(regexp, 1, ARG_STR, ARG_
UINT)
\
X(rshift, 1, 0,0) \
X(rshift2, 1, 0,0) \
X(str, 1, ARG_STR, 0) \
...
...
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