diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-10-09 16:19:37 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-10-09 16:19:37 -0400 |
commit | 79188db9b445a48666dfeca6ed01077a985e28f2 (patch) | |
tree | 1096a5a9386330e1e7eb0c9a4f8818fb6dcbf80a | |
parent | cb0d6785e76badde4f52ec989345608946a5d59f (diff) | |
download | gcc-79188db9b445a48666dfeca6ed01077a985e28f2.zip gcc-79188db9b445a48666dfeca6ed01077a985e28f2.tar.gz gcc-79188db9b445a48666dfeca6ed01077a985e28f2.tar.bz2 |
Formerly extend.texi.~109~
From-SVN: r12929
-rw-r--r-- | gcc/extend.texi | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/gcc/extend.texi b/gcc/extend.texi index 6b85b9e..5c780d8 100644 --- a/gcc/extend.texi +++ b/gcc/extend.texi @@ -1705,24 +1705,10 @@ with traditional constructs like @code{dividend//*comment*/divisor}. @cindex dollar signs in identifier names @cindex identifier names, dollar signs in -In GNU C, you may use dollar signs in identifier names. This is because -many traditional C implementations allow such identifiers. - -On some machines, dollar signs are allowed in identifiers if you specify -@w{@samp{-traditional}}. On a few systems they are allowed by default, -even if you do not use @w{@samp{-traditional}}. But they are never -allowed if you specify @w{@samp{-ansi}}. - -There are certain ANSI C programs (obscure, to be sure) that would -compile incorrectly if dollar signs were permitted in identifiers. For -example: - -@example -#define foo(a) #a -#define lose(b) foo (b) -#define test$ -lose (test) -@end example +In GNU C, you may normally use dollar signs in identifier names. +This is because many traditional C implementations allow such identifiers. +However, dollar signs in identifiers are not supported on a few target +machines, typically because the target assembler does not allow them. @node Character Escapes @section The Character @key{ESC} in Constants |