diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-07-07 23:19:35 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-07-07 23:19:41 +0200 |
| commit | 66b73c8e76a6a6d15d7061e47d79eda5c5f38f64 (patch) | |
| tree | 351222eea8613b1d2c3ad5cb20d9c558e3db7c42 /fluid/io/Project_Reader.cxx | |
| parent | 5c33d3051f06b3d0aa3514127d2cc8ee1c122874 (diff) | |
#1276: New code to generate include guard
- generating macro identifier with unicode encoding
if the filename has international character
- optional user defined include guard
Diffstat (limited to 'fluid/io/Project_Reader.cxx')
| -rw-r--r-- | fluid/io/Project_Reader.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fluid/io/Project_Reader.cxx b/fluid/io/Project_Reader.cxx index c420824aa..0e2809685 100644 --- a/fluid/io/Project_Reader.cxx +++ b/fluid/io/Project_Reader.cxx @@ -277,6 +277,11 @@ Node *Project_Reader::read_children(Node *p, int merge, Strategy strategy, char goto CONTINUE; } + if (!strcmp(c,"include_guard")) { + proj_.include_guard = read_word(); + goto CONTINUE; + } + if (!strcmp(c, "snap")) { Fluid.layout_list.read(this); goto CONTINUE; |
