Skip to content

Commit

Permalink
fix $comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Justpenz233 authored and Mike-Leo-Smith committed Jan 10, 2025
1 parent 4df551d commit adbd67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/luisa/dsl/sugar.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace luisa::compute::dsl_detail {
::luisa::compute::detail::StmtBodyInvoke{} % [&]() noexcept -> void

#define $comment(...) \
::luisa::compute::comment(__VA_ARGS__)
::luisa::compute::detail::comment(__VA_ARGS__)
#define $comment_with_location(...) \
$comment(luisa::string{__VA_ARGS__} \
.append(" [") \
Expand Down

0 comments on commit adbd67e

Please sign in to comment.