Mercurial > vim
comparison src/regexp_nfa.c @ 18498:9e6d5a4abb1c v8.1.2243
patch 8.1.2243: typos in comments
Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 2 22:54:41 2019 +0100
patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust
formatting a bit.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Nov 2019 23:00:06 +0100 |
parents | ce04ebdf26b8 |
children | d34ec6fe207d |
comparison
equal
deleted
inserted
replaced
18497:14e9f08eec14 | 18498:9e6d5a4abb1c |
---|---|
3211 return NULL; \ | 3211 return NULL; \ |
3212 } | 3212 } |
3213 | 3213 |
3214 if (nfa_calc_size == FALSE) | 3214 if (nfa_calc_size == FALSE) |
3215 { | 3215 { |
3216 // Allocate space for the stack. Max states on the stack: "nstate'. | 3216 // Allocate space for the stack. Max states on the stack: "nstate". |
3217 stack = ALLOC_MULT(Frag_T, nstate + 1); | 3217 stack = ALLOC_MULT(Frag_T, nstate + 1); |
3218 if (stack == NULL) | 3218 if (stack == NULL) |
3219 return NULL; | 3219 return NULL; |
3220 stackp = stack; | 3220 stackp = stack; |
3221 stack_end = stack + (nstate + 1); | 3221 stack_end = stack + (nstate + 1); |