diff options
author | Hugo van der Sanden <hv@crypt.org> | 2001-11-28 21:47:59 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-29 04:43:54 +0000 |
commit | edf6e4ec734b175d478b17f1da78d9e6fe60025e (patch) | |
tree | ea86131fe58151b21f1a2d47b5520d6a80af3e8b /t/lib/h2ph.h | |
parent | 0740bb5b1445c265b9ce58c0b1e10d8ecc747f77 (diff) | |
download | perl-edf6e4ec734b175d478b17f1da78d9e6fe60025e.tar.gz |
Re: More h2ph problems [was Re: h2ph confused by comments in an enum.
Message-Id: <200111282147.fASLlxD04163@crypt.compulink.co.uk>
p4raw-id: //depot/perl@13355
Diffstat (limited to 't/lib/h2ph.h')
-rw-r--r-- | t/lib/h2ph.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/lib/h2ph.h b/t/lib/h2ph.h index f12a6776cb..c60e8f008d 100644 --- a/t/lib/h2ph.h +++ b/t/lib/h2ph.h @@ -98,6 +98,13 @@ typedef enum _days_of_week { sun, mon, tue, wed, thu, fri, sat, Sun=0, Mon, ??= define SOMETHING_ELSE_TRIGRAPHIC_8 "??>" /* | ??>| }| */ ??=endif +// test C++-style comment + +#if 1 +typdef struct empty_struct { +} // trailing C++-style comment should not force continuation +#endif + /* comments (that look like string) inside enums... */ enum { |