Replace foo with __NIX_STR in cxx-big-literal

Looks a little nicer when you check the generated sources.
This commit is contained in:
Rebecca Turner 2024-03-09 15:57:29 -08:00
parent 3120fef01b
commit ea8faf8e9a
No known key found for this signature in database

View File

@ -1,5 +1,5 @@
%.gen.hh: %
@echo 'R"foo(' >> $@.tmp
@echo 'R"__NIX_STR(' >> $@.tmp
$(trace-gen) cat $< >> $@.tmp
@echo ')foo"' >> $@.tmp
@echo ')__NIX_STR"' >> $@.tmp
@mv $@.tmp $@