aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/mi5.awk6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/mi5.awk b/bin/mi5.awk
index 14f2ff2b..6042a46c 100644
--- a/bin/mi5.awk
+++ b/bin/mi5.awk
@@ -60,8 +60,7 @@ bmac && NF {
if (iquo) {
# Look for end of comment and tip flag accordingly
- if (substr(src, i, length(unquote)) == unquote)
- iquo = 0
+ iquo = (substr(src, i, length(unquote)) != unquote)
}
# Inline macro expansion
@@ -81,8 +80,7 @@ bmac && NF {
}
# Look for start of comment and tip flag accordingly
- if (substr(src, i, length(quote)) == quote)
- iquo = 1
+ iquo = (substr(src, i, length(quote)) == quote)
}
# Plain text mode