diff options
author | Ben Lu <ayroblu@gmail.com> | 2019-09-08 12:17:39 +0100 |
---|---|---|
committer | Ben Lu <ayroblu@gmail.com> | 2019-09-08 12:17:39 +0100 |
commit | 80d76cba89b970b7548fd20249185d394c3c1edd (patch) | |
tree | 6ea9576a5b7aa762a9bc0cbdb568da7e9fdb32ba /src/lex.c | |
parent | 52c557dbd5123095358f5b4650e6be2069c1e767 (diff) |
Add v commands
Diffstat (limited to 'src/lex.c')
-rw-r--r-- | src/lex.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -177,7 +177,10 @@ int yylex() { } if (ret == WORD) { - if (tokenst && ( ! strncmp(line, "nmap", 4) || ! strncmp(line, "imap", 4) )) { + if (tokenst && ( ! strncmp(line, "nmap", 4) || + ! strncmp(line, "imap", 4) || + ! strncmp(line, "vmap", 4) ) + ) { char * p = tokenst; char * ptr = p; while (*ptr && ( |