summaryrefslogtreecommitdiffstats
path: root/awkreg.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awkreg.awk')
-rw-r--r--awkreg.awk6
1 files changed, 3 insertions, 3 deletions
diff --git a/awkreg.awk b/awkreg.awk
index f966168..87c5773 100644
--- a/awkreg.awk
+++ b/awkreg.awk
@@ -21,7 +21,7 @@ function eat_chars(s, n)
function matches(s, pfx)
{
- return substr(s, 1, length(pfx)) == pfx
+ return substr(s, 1, length(pfx)) == pfx
}
function match_and_eat(s, pfx)
@@ -96,7 +96,7 @@ function eat_bracket_exp(e,
if (f == e)
return o
e = f
- continue;
+ continue
}
f = eat_bchar(e)
@@ -191,7 +191,7 @@ function eat_regex(r,
if (empty(s) || s == r)
return s
- r = s;
+ r = s
if (matches(r, "|"))
r = eat_char(r)