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
645d4596
Commit
645d4596
authored
Sep 20, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Added support for rem statement-like comments.
parent
d0ae4c47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lex.c
dlls/vbscript/lex.c
+3
-1
lang.vbs
dlls/vbscript/tests/lang.vbs
+2
-0
No files found.
dlls/vbscript/lex.c
View file @
645d4596
...
...
@@ -319,7 +319,9 @@ static int parse_next_token(void *lval, parser_ctx_t *ctx)
int
ret
=
check_keywords
(
ctx
);
if
(
!
ret
)
return
parse_identifier
(
ctx
,
lval
);
return
ret
;
if
(
ret
!=
tREM
)
return
ret
;
c
=
'\''
;
}
switch
(
c
)
{
...
...
dlls/vbscript/tests/lang.vbs
View file @
645d4596
...
...
@@ -611,6 +611,8 @@ Call ok(funcCalled = "terminate", "funcCalled = " & funcCalled)
x
=
"following ':' is correct syntax"
:
x
=
"following ':' is correct syntax"
::
:
::
x
=
"also correct syntax"
rem another ugly way for comments
x
=
"rem as simplestatement"
:
rem rem comment
:
Set
obj
=
new
EmptyClass
...
...
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