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
78eae9aa
Commit
78eae9aa
authored
11 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.3.1116
Problem: Can't build without Visual mode. Solution: Add #ifdefs.
parent
5ebc09b4
No related branches found
Branches containing commit
Tags
v7.3.1116
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/regexp_nfa.c
+8
-0
8 additions, 0 deletions
src/regexp_nfa.c
src/version.c
+2
-0
2 additions, 0 deletions
src/version.c
with
10 additions
and
0 deletions
src/regexp_nfa.c
+
8
−
0
View file @
78eae9aa
...
...
@@ -181,7 +181,9 @@ enum
NFA_MARK
,
/* Match mark */
NFA_MARK_GT
,
/* Match > mark */
NFA_MARK_LT
,
/* Match < mark */
#ifdef FEAT_VISUAL
NFA_VISUAL
,
/* Match Visual area */
#endif
NFA_FIRST_NL
=
NFA_ANY
+
ADD_NL
,
NFA_LAST_NL
=
NFA_NUPPER
+
ADD_NL
,
...
...
@@ -963,9 +965,11 @@ nfa_regatom()
EMIT
(
NFA_CURSOR
);
break
;
#ifdef FEAT_VISUAL
case
'V'
:
EMIT
(
NFA_VISUAL
);
break
;
#endif
case
'['
:
/* TODO: \%[abc] not supported yet */
...
...
@@ -1955,7 +1959,9 @@ nfa_set_code(c)
case
NFA_MARK_GT
:
STRCPY
(
code
,
"NFA_MARK_GT "
);
break
;
case
NFA_MARK_LT
:
STRCPY
(
code
,
"NFA_MARK_LT "
);
break
;
case
NFA_CURSOR
:
STRCPY
(
code
,
"NFA_CURSOR "
);
break
;
#ifdef FEAT_VISUAL
case
NFA_VISUAL
:
STRCPY
(
code
,
"NFA_VISUAL "
);
break
;
#endif
case
NFA_STAR
:
STRCPY
(
code
,
"NFA_STAR "
);
break
;
case
NFA_STAR_NONGREEDY
:
STRCPY
(
code
,
"NFA_STAR_NONGREEDY "
);
break
;
...
...
@@ -4790,12 +4796,14 @@ nfa_regmatch(prog, start, submatch, m)
t
->
pim
,
&
listidx
);
break
;
#ifdef FEAT_VISUAL
case
NFA_VISUAL
:
result
=
reg_match_visual
();
if
(
result
)
addstate_here
(
thislist
,
t
->
state
->
out
,
&
t
->
subs
,
t
->
pim
,
&
listidx
);
break
;
#endif
default:
/* regular character */
{
...
...
This diff is collapsed.
Click to expand it.
src/version.c
+
2
−
0
View file @
78eae9aa
...
...
@@ -728,6 +728,8 @@ static char *(features[]) =
static
int
included_patches
[]
=
{
/* Add new patch number below this line */
/**/
1116
,
/**/
1115
,
/**/
...
...
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