Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
3a3a7234
Commit
3a3a7234
authored
20 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0041
parent
f3bae693
Loading
Loading
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
runtime/doc/eval.txt
+169
-65
169 additions, 65 deletions
runtime/doc/eval.txt
src/ex_eval.c
+8
-3
8 additions, 3 deletions
src/ex_eval.c
src/version.h
+2
-2
2 additions, 2 deletions
src/version.h
with
179 additions
and
70 deletions
runtime/doc/eval.txt
+
169
−
65
View file @
3a3a7234
This diff is collapsed.
Click to expand it.
src/ex_eval.c
+
8
−
3
View file @
3a3a7234
...
@@ -1172,11 +1172,16 @@ ex_endwhile(eap)
...
@@ -1172,11 +1172,16 @@ ex_endwhile(eap)
fl
=
cstack
->
cs_flags
[
cstack
->
cs_idx
];
fl
=
cstack
->
cs_flags
[
cstack
->
cs_idx
];
if
(
!
(
fl
&
csf
))
if
(
!
(
fl
&
csf
))
{
{
/* If we are in a ":while" or ":for" but used the wrong endloop
* command, do not rewind to the next enclosing ":for"/":while". */
if
(
fl
&
CSF_WHILE
)
if
(
fl
&
CSF_WHILE
)
eap
->
errmsg
=
(
char_u
*
)
_
(
"E
999
: Using :endfor with :while"
);
eap
->
errmsg
=
(
char_u
*
)
_
(
"E
732
: Using :endfor with :while"
);
else
if
(
fl
&
CSF_FOR
)
else
if
(
fl
&
CSF_FOR
)
eap
->
errmsg
=
(
char_u
*
)
_
(
"E999: Using :endwhile with :for"
);
eap
->
errmsg
=
(
char_u
*
)
_
(
"E733: Using :endwhile with :for"
);
else
if
(
!
(
fl
&
CSF_TRY
))
}
if
(
!
(
fl
&
(
CSF_WHILE
|
CSF_FOR
)))
{
if
(
!
(
fl
&
CSF_TRY
))
eap
->
errmsg
=
e_endif
;
eap
->
errmsg
=
e_endif
;
else
if
(
fl
&
CSF_FINALLY
)
else
if
(
fl
&
CSF_FINALLY
)
eap
->
errmsg
=
e_endtry
;
eap
->
errmsg
=
e_endtry
;
...
...
This diff is collapsed.
Click to expand it.
src/version.h
+
2
−
2
View file @
3a3a7234
...
@@ -36,5 +36,5 @@
...
@@ -36,5 +36,5 @@
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2004 Jan 1
6
)"
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2004 Jan 1
7
)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2004 Jan 1
6
, compiled "
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2004 Jan 1
7
, compiled "
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment