[PATCH,fortran] *The* ISO C Binding patch
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Jun 24 17:10:00 GMT 2007
On Sun, Jun 24, 2007 at 06:59:53PM +0200, Andreas Schwab wrote:
> Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
>
> > On Sun, Jun 24, 2007 at 12:38:03PM +0200, Andreas Schwab wrote:
> >> Steve Kargl <sgk@troutmask.apl.washington.edu> writes:
> >>
> >> > +NAMED_CHARCST (ISOCBINDING_NULL_CHAR, "c_null_char", '\0')
> >> > +NAMED_CHARCST (ISOCBINDING_ALERT, "c_alert", '\a')
> >> > +NAMED_CHARCST (ISOCBINDING_BACKSPACE, "c_backspace", '\b')
> >> > +NAMED_CHARCST (ISOCBINDING_FORM_FEED, "c_form_feed", '\f')
> >> > +NAMED_CHARCST (ISOCBINDING_NEW_LINE, "c_new_line", '\n')
> >> > +NAMED_CHARCST (ISOCBINDING_CARRIAGE_RETURN, "c_carriage_return", '\r')
> >> > +NAMED_CHARCST (ISOCBINDING_HORIZONTAL_TAB, "c_horizontal_tab", '\t')
> >> > +NAMED_CHARCST (ISOCBINDING_VERTICAL_TAB, "c_vertical_tab", '\v')
> >>
> >> Shouldn't those use the target character set?
> >>
> >
> > These are the constants listed in Table 15.1 in the Fortran
> > 2003 standard
>
> But '\v' is the value from the _host_ character set, not the _target_
> one.
>
I don't follow. n1124.pdf is a working draft of the C standard. It
explicitly states that vertical tab is spelled '\v'. It has no
concept of host and target character set.
What do you want in place of these constants? Can you point me to
someplace in the GCC source that handles these special chars.?
--
Steve
More information about the Fortran
mailing list