Merge "Backport PR#10204 by 9999years: Replace foo with __NIX_STR in cxx-big-literal" into main

This commit is contained in:
jade 2024-03-14 00:07:21 -06:00 committed by Gerrit Code Review
commit 2a8f579c53

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 $@