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
42aefd42
Commit
42aefd42
authored
Dec 19, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Store type information in statement nodes.
parent
00588673
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
132 additions
and
58 deletions
+132
-58
engine.h
dlls/jscript/engine.h
+20
-0
parser.y
dlls/jscript/parser.y
+112
-58
No files found.
dlls/jscript/engine.h
View file @
42aefd42
...
...
@@ -282,7 +282,27 @@ typedef struct _return_type_t return_type_t;
typedef
HRESULT
(
*
statement_eval_t
)(
script_ctx_t
*
,
statement_t
*
,
return_type_t
*
,
VARIANT
*
);
typedef
enum
{
STAT_BLOCK
,
STAT_BREAK
,
STAT_CONTINUE
,
STAT_EMPTY
,
STAT_EXPR
,
STAT_FOR
,
STAT_FORIN
,
STAT_IF
,
STAT_LABEL
,
STAT_RETURN
,
STAT_SWITCH
,
STAT_THROW
,
STAT_TRY
,
STAT_VAR
,
STAT_WHILE
,
STAT_WITH
}
statement_type_t
;
struct
_statement_t
{
statement_type_t
type
;
statement_eval_t
eval
;
statement_t
*
next
;
};
...
...
dlls/jscript/parser.y
View file @
42aefd42
This diff is collapsed.
Click to expand it.
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