summaryrefslogtreecommitdiff
path: root/xC-gen-proto-js.awk
diff options
context:
space:
mode:
Diffstat (limited to 'xC-gen-proto-js.awk')
-rw-r--r--xC-gen-proto-js.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/xC-gen-proto-js.awk b/xC-gen-proto-js.awk
index 752fd18..40b99ee 100644
--- a/xC-gen-proto-js.awk
+++ b/xC-gen-proto-js.awk
@@ -51,6 +51,8 @@ function define_uint(size, shortname) {
}
function codegen_begin() {
+ print "// Code generated from " FILENAME ". DO NOT EDIT."
+ print ""
print "export class Reader extends DataView {"
print "\tconstructor() {"
print "\t\tsuper(...arguments)"