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:
@@ -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};
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user