aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-26 06:44:42 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-26 07:01:18 -0400
commit7d90b90d63079beb14a01b023f2664090f89ee65 (patch)
tree8f1c0591d0e7613e456ff9fd6da2e0d2e9a664f9
parented6c7fbf0bbabb93e01be14ebfa347c09a933be1 (diff)
downloadrneovim-7d90b90d63079beb14a01b023f2664090f89ee65.tar.gz
rneovim-7d90b90d63079beb14a01b023f2664090f89ee65.tar.bz2
rneovim-7d90b90d63079beb14a01b023f2664090f89ee65.zip
vim-patch:8.1.1194: typos and small problems in source files
Problem: Typos and small problems in source files. Solution: Small fixes. https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977
-rw-r--r--src/nvim/regexp_defs.h6
-rw-r--r--src/nvim/tag.c6
2 files changed, 5 insertions, 7 deletions
diff --git a/src/nvim/regexp_defs.h b/src/nvim/regexp_defs.h
index 298d82fc6b..5e5b19b63f 100644
--- a/src/nvim/regexp_defs.h
+++ b/src/nvim/regexp_defs.h
@@ -94,10 +94,8 @@ typedef struct {
char_u program[1]; /* actually longer.. */
} bt_regprog_T;
-/*
- * Structure representing a NFA state.
- * A NFA state may have no outgoing edge, when it is a NFA_MATCH state.
- */
+// Structure representing a NFA state.
+// An NFA state may have no outgoing edge, when it is a NFA_MATCH state.
typedef struct nfa_state nfa_state_T;
struct nfa_state {
int c;
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 861063ff62..98be058c0b 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -1832,9 +1832,9 @@ parse_line:
// Don't add identical matches.
// Add all cscope tags, because they are all listed.
// "mfp" is used as a hash key, there is a NUL byte to end
- // the part matters for comparing, more bytes may follow
- // after it. E.g. help tags store the priority after the
- // NUL.
+ // the part that matters for comparing, more bytes may
+ // follow after it. E.g. help tags store the priority
+ // after the NUL.
if (use_cscope) {
hash++;
} else {