summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2017-08-30 19:37:17 +0200
committerOri Bernstein <ori@zomg.markovcorp.com>2017-08-30 12:23:27 -0700
commit7c8a2311ed9c5c01c22649018149ecd3a851e36a (patch)
tree77f35f6be42029c1a2ebea09ddbd941b475e8d6e
parent0e0c0dd693efa98ae87f8a9f266b67e4f8625521 (diff)
download6as-7c8a2311ed9c5c01c22649018149ecd3a851e36a.tar.gz
Ignore any instruction ignored
Ignore instructions are only used in pseudo instructions, so they can be totally ignored in our case.
-rw-r--r--gen.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen.awk b/gen.awk
index a7d9628..05acfbb 100644
--- a/gen.awk
+++ b/gen.awk
@@ -6,8 +6,8 @@ BEGIN {
/^[ ]*;/ {next}
NF != 4 {next}
-$2 == "ignore" &&
-$3 == "ignore" &&
+$2 == "ignore" ||
+$3 == "ignore" ||
$4 == "ignore" {next}
{