Skip to content

Commit 3f60f35

Browse files
committed
remove P macro to avoid paragraph number
1 parent 3576ab3 commit 3f60f35

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spec/function.dd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,9 +2356,11 @@ int foo(char[] s)
23562356
const int x = foo("1");
23572357
---
23582358

2359-
$(P is illegal, because the runtime code for `foo` cannot be
2359+
$(COMMENT Intentionally not a $(P ...) so that it doesn't get a
2360+
paragraph number, because this continues the paragraph above.)
2361+
is illegal, because the runtime code for `foo` cannot be
23602362
generated. A function template would be the appropriate
2361-
method to implement this sort of thing.)
2363+
method to implement this sort of thing.
23622364

23632365
$(H2 $(LNAME2 nogc-functions, No-GC Functions))
23642366

0 commit comments

Comments
 (0)