summaryrefslogtreecommitdiff
path: root/tokhash.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-08-31 00:28:35 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-08-31 00:28:35 +0000
commit9e4dba2f4780237bfcc49859b075c5b42b5dbbfd (patch)
tree3e5296f7ad20319c38b59ef5d21623f6373f6353 /tokhash.pl
parent29b1bc4603db95ffcc304a20f55e4e9e52caf922 (diff)
downloadnasm-9e4dba2f4780237bfcc49859b075c5b42b5dbbfd.tar.gz
nasm-9e4dba2f4780237bfcc49859b075c5b42b5dbbfd.tar.bz2
nasm-9e4dba2f4780237bfcc49859b075c5b42b5dbbfd.zip
Add "do not edit" comment to tokhash.c
Diffstat (limited to 'tokhash.pl')
-rwxr-xr-xtokhash.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/tokhash.pl b/tokhash.pl
index 8bb4202..58109fd 100755
--- a/tokhash.pl
+++ b/tokhash.pl
@@ -124,7 +124,12 @@ $sv2 = $sv+2;
die if ($n & ($n-1));
-print "#include <stdio.h>\n";
+print "/*\n";
+print " * This file is generated from insns.dat, regs.dat and token.dat\n";
+print " * by tokhash.pl; do not edit.\n";
+print " */\n";
+print "\n";
+
print "#include <string.h>\n";
print "#include \"nasm.h\"\n";
print "#include \"insns.h\"\n";