chore: update generated file headers to reference wren_to_c_string.py

Replace the generic "Do not edit" comment in all five `.wren.inc` files with a
more informative preamble that explicitly names the source `.wren` file and the
`util/wren_to_c_string.py` generator script, and update the script's own
`PREAMBLE` template accordingly.
This commit is contained in:
Josh Goebel
2021-04-28 21:49:10 +00:00
parent 0045a5218a
commit 7b56ba281b
6 changed files with 18 additions and 6 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ import re
# #included directly by other source files. This generates a ".wren.inc" file
# given a ".wren" module.
PREAMBLE = """// Generated automatically from {0}. Do not edit.
PREAMBLE = """// Please do not edit this file. It has been generated automatically
// from `{0}` using `util/wren_to_c_string.py`
static const char* {1}ModuleSource =
{2};
"""