diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-10-09 20:19:37 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-10-09 20:19:37 +0000 |
commit | fae2383ccad6f6b82a10373387c2f8782f23d016 (patch) | |
tree | 1096a5a9386330e1e7eb0c9a4f8818fb6dcbf80a /gcc/extend.texi | |
parent | 03be9a313e275bcd51ea14903ffd7fdda66f7d70 (diff) | |
download | gcc-fae2383ccad6f6b82a10373387c2f8782f23d016.tar.gz |
Formerly extend.texi.~109~
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12929 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/extend.texi')
-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 6b85b9e6419..5c780d84a79 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 |