diff options
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c index cb74a9832..9905be092 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -784,7 +784,7 @@ static int istrue(var *v) { | |||
784 | return (v->string && *(v->string)) ? 1 : 0; | 784 | return (v->string && *(v->string)) ? 1 : 0; |
785 | } | 785 | } |
786 | 786 | ||
787 | /* temporary varables allocator. Last allocated should be first freed */ | 787 | /* temporary variables allocator. Last allocated should be first freed */ |
788 | static var *nvalloc(int n) { | 788 | static var *nvalloc(int n) { |
789 | 789 | ||
790 | nvblock *pb = NULL; | 790 | nvblock *pb = NULL; |
@@ -1386,7 +1386,7 @@ static node *mk_splitter(char *s, tsplitter *spl) { | |||
1386 | } | 1386 | } |
1387 | 1387 | ||
1388 | /* use node as a regular expression. Supplied with node ptr and regex_t | 1388 | /* use node as a regular expression. Supplied with node ptr and regex_t |
1389 | * storage space. Return ptr to regex (if result points to preg, it shuold | 1389 | * storage space. Return ptr to regex (if result points to preg, it should |
1390 | * be later regfree'd manually | 1390 | * be later regfree'd manually |
1391 | */ | 1391 | */ |
1392 | static regex_t *as_regex(node *op, regex_t *preg) { | 1392 | static regex_t *as_regex(node *op, regex_t *preg) { |