Skip to content

Commit 3e48185

Browse files
committed
fix Issue 23691 - compilable/test22294.i:16:1: control Z interpreted as end of file
1 parent 3b70aa0 commit 3e48185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/importc.dd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,10 @@ enum E { A = 3; }
558558
Rewrite function-style preprocessor macros as inline functions.
559559
)
560560

561+
$(H3 $(LNAME2 controlZ, Control Z is End Of File))
562+
563+
$(P A control-Z character `\x1A` in the source text means End Of File.)
564+
561565
$(H2 $(LNAME2 gnu-clang-extensions, Gnu and Clang Extensions))
562566

563567
$(P `gcc` and `clang` are presumed to have the same behavior w.r.t. extensions,

0 commit comments

Comments
 (0)