This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: # as comment
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- To: Jonathan Larmour <jlarmour at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 22 May 2002 10:14:29 +0100
- Subject: Re: # as comment
- References: <3CEA7315.9ACF8E2B@redhat.com>
Hi Jifl,
> I notice that the GAS info files include this about '#' comments:
> -=-=-=-=-
> If the first non-whitespace characters on the line are not numeric,
> the line is ignored. (Just like a comment.)
>
> # This is an ordinary comment.
> # 42-6 "new_file_name" # New logical file name
> # This is logical line # 36.
> This feature is deprecated, and may disappear from future versions
> of `as'.
> -=-=-=-=-
>
> Which is deprecated: the use of a numeric with a #, or # comments entirely?
The use of a numeric with a #.
Although looking at the actual code itself I do not see any comments
about the feature being deprecated, so I guess that it will not be
disappearing in a hurry.
Cheers
Nick