This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Update cpplib.html
- To: gcc-patches at gcc dot gnu dot org
- Subject: Update cpplib.html
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Mon, 11 Jun 2001 23:54:38 +0100
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
I've commited this.
Neil.
* cpplib.html: Update.
Index: htdocs/projects/cpplib.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cpplib.html,v
retrieving revision 1.9
diff -u -p -r1.9 cpplib.html
--- cpplib.html 2001/05/20 11:05:24 1.9
+++ cpplib.html 2001/06/11 22:53:02
@@ -85,10 +85,8 @@ after thought, which is not entirely coi
href="#charset">character set issues</a>, below.
<li>C99 universal character escapes (<code>\uxxxx</code>,
- <code>\Uxxxxxxxx</code>) are not recognized except in string
- or character constants, and will be misinterpreted in character
- constants appearing in #if directives. Again, proper support
- has to be coordinated with the compiler proper.
+ <code>\Uxxxxxxxx</code>) are not recognized in identifiers.
+ Proper support has to be coordinated with the front ends.
<li>Precompiled headers are commonly requested; this entails the
ability for cpp to dump out and reload all its internal state.
@@ -110,12 +108,10 @@ after thought, which is not entirely coi
could handle all of C, C++, Objective C; if this ever happens,
it should use cpplib's token codes.
- <li>The work currently done by <code>c-lex.c</code> converting
- character and string constants to their internal representations
- is probably better off done in cpplib, and would reduce a
- certain amount of duplication. String concatenation might be
- better done within cpplib too, avoiding the more heavyweight
- games played with trees in the compiler front ends.
+ <li>String concatenation should be handled in the function
+ <code>c-lex</code> in <tt>c-lex.c</tt>. Then the front ends would
+ not have to jump through hoops to remember to concatenate
+ strings, and we could simplify the parsers a little too.
</ol>
<h2>Other internal work that needs doing</h2>