From 79188db9b445a48666dfeca6ed01077a985e28f2 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 9 Oct 1996 16:19:37 -0400 Subject: [PATCH] Formerly extend.texi.~109~ From-SVN: r12929 --- gcc/extend.texi | 22 ++++------------------ 1 file 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 -- 2.7.4