Skip to content

Commit

Permalink
Replace foo with __NIX_STR in cxx-big-literal
Browse files Browse the repository at this point in the history
Looks a little nicer when you check the generated sources.
  • Loading branch information
9999years committed Mar 10, 2024
1 parent 3120fef commit ea8faf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/cxx-big-literal.mk
Original file line number Diff line number Diff line change
@@ -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 $@

0 comments on commit ea8faf8

Please sign in to comment.