summaryrefslogtreecommitdiff
path: root/defs2d.awk
diff options
context:
space:
mode:
Diffstat (limited to 'defs2d.awk')
-rwxr-xr-xdefs2d.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/defs2d.awk b/defs2d.awk
index 1151185..23af3de 100755
--- a/defs2d.awk
+++ b/defs2d.awk
@@ -6,7 +6,7 @@
/distinct/ {
printf("static int %s[] = {\n", $2);
- for (i = 3; i < NF; i++) {
+ for (i = 3; i <= NF; i++) {
#printf("#ifndef %s\n", $i);
#printf("#error %s not defined\n", $i);
#printf("#endif\n");