summaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
commit32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch)
tree4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/regexp_nfa.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
downloadvim-git-32aa10203bd0b4b270def03311a4599f9ffdecc4.tar.gz
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 0712f4eee..685a6d7bd 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -3213,7 +3213,7 @@ post2nfa(int *postfix, int *end, int nfa_calc_size)
if (nfa_calc_size == FALSE)
{
- // Allocate space for the stack. Max states on the stack: "nstate'.
+ // Allocate space for the stack. Max states on the stack: "nstate".
stack = ALLOC_MULT(Frag_T, nstate + 1);
if (stack == NULL)
return NULL;