More HTML error fixes
Joseph S. Myers
jsm28@cam.ac.uk
Sat Oct 7 11:05:00 GMT 2000
Here are more fixes for HTML errors in the web pages shown by
validator.w3.org. <blockquote> is a block-level element rather than part
of a paragraph; there's no <file> element; don't end the same element more
than once; you can't use <p> in the middle of a list outside a list item
to create a blank space, it's a container and empty paragraphs should not
be used; avoid bare < and > in text within <pre>; put the opening <center>
on a table with </center> after it; <pre> is block-level so don't try to
close a paragraph immediately after it. Installed as obvious.
Index: extensions.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/extensions.html,v
retrieving revision 1.9
diff -u -r1.9 extensions.html
--- extensions.html 2000/10/07 17:03:40 1.9
+++ extensions.html 2000/10/07 17:08:33
@@ -38,12 +38,12 @@
<i>srcdir</i>, this patch for GCC 2.95.1 will allow you to build GCC
using Sun make in a <i>srcdir</i> != <i>objdir</i> setup.</p>
-<p>Apply it with (for example) GNU patch:
+<p>Apply it with (for example) GNU patch:</p>
<blockquote><code>
patch -p1 -d <i>/path/to/gcc-2.95.1</i> <
gcc-2.95.1-sun-make-patch1.txt
</code></blockquote>
-This patch is not supposed to interfere with proper building and
+<p>This patch is not supposed to interfere with proper building and
installation on non-Sun systems or when using GNU make.</p>
<p>Contact: <a href=" mailto:hp@axis.se ">hp@axis.se</a></p>
Index: proj-cpplib.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/proj-cpplib.html,v
retrieving revision 1.11
diff -u -r1.11 proj-cpplib.html
--- proj-cpplib.html 2000/10/06 06:07:14 1.11
+++ proj-cpplib.html 2000/10/07 17:13:22
@@ -122,7 +122,7 @@
<li>C99's <code>_Pragma</code> intrinsic is not supported. This is
straightforward to implement: <code>_Pragma</code> is a special
- symbol (see <code>special_symbol</code> in <file>cpplex.c</file>
+ symbol (see <code>special_symbol</code> in <code>cpplex.c</code>
which parses its argument, destringizes it, and then calls
<code>_cpp_run_directive</code> to forward it to the
<code>#pragma</code> handler.
@@ -170,14 +170,14 @@
<ol>
<li>Front ends need to use cpplib's line and column numbering
interface directly. The existing code copies cpplib's internal
- state into the state used by <file>diagnostic.c</file>, which is
+ state into the state used by <code>diagnostic.c</code>, which is
better than writing out and processing linemarker commands, but
still suboptimal.
<li>The identifier hash tables used by cpplib and the front end
should be unified. In breadboard tests, this can net up to 10%
speedup, mainly because the hash table used by front ends now
- (see <file>tree.c</file>) is no good.
+ (see <code>tree.c</code>) is no good.
<li>If Yacc did not insist on assigning its own values for token
codes, there would be no need for a translation layer between
Index: readings.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v
retrieving revision 1.39
diff -u -r1.39 readings.html
--- readings.html 2000/10/01 22:55:57 1.39
+++ readings.html 2000/10/07 17:39:04
@@ -36,7 +36,6 @@
<li><a href=" http://wwwspies.informatik.tu-muenchen.de/personen/pizka/ ">GNU INSEL Compiler gic</a>.
</ul>
-</ul>
<h2>Chip Documentation</h2>
@@ -313,7 +312,6 @@
</ul></li>
-<p>
<li><a href=" http://www.partner.europe.digital.com/www-swdev/pages/Home/TECH/dunix/ofst/build/src/index.html ">
Information on the Digital UNIX V5.0 object file format</a>
Index: news/cprop.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/news/cprop.html,v
retrieving revision 1.2
diff -u -r1.2 cprop.html
--- cprop.html 2000/01/10 02:27:15 1.2
+++ cprop.html 2000/10/07 17:45:33
@@ -25,7 +25,7 @@
int area = 0, volume = 0, height;
enum figure kind = RECTANGLE;
- for (height = 0; height < 10; height++) {
+ for (height = 0; height < 10; height++) {
if (kind == RECTANGLE) {
area += length * width;
volume += length * width * height;
@@ -49,12 +49,12 @@
<pre>
L$0006 L$0006
- comib,<>,n 0,%r22,L$0007
+ comib,<>,n 0,%r22,L$0007
addl %r26,%r20,%r26 addl %r25,%r21,%r25
bl L$0005,0
addl %r25,%r21,%r25
L$0007
- comib,<>,n 1,%r22,L$0005
+ comib,<>,n 1,%r22,L$0005
stw %r19,-16(0,%r30)
fcnvxf,sgl,dbl %fr27L,%fr26
fldws -16(0,%r30),%fr22L
Index: news/egcs-vcg.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/news/egcs-vcg.html,v
retrieving revision 1.4
diff -u -r1.4 egcs-vcg.html
--- egcs-vcg.html 2000/04/28 23:49:07 1.4
+++ egcs-vcg.html 2000/10/07 17:53:50
@@ -94,7 +94,7 @@
<p>These files are kind of hard to read if you are not used to
RTL. Example? This is a part of <code>test.c.lreg</code>:</p>
- <table bgcolor="#a0a0a0">
+ <center><table bgcolor="#a0a0a0">
<tr>
<td>
<pre>[... some lines removed ...]
Index: news/ia32.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/news/ia32.html,v
retrieving revision 1.3
diff -u -r1.3 ia32.html
--- ia32.html 1999/08/16 06:02:57 1.3
+++ ia32.html 2000/10/07 17:55:28
@@ -91,7 +91,7 @@
-r--r--r-- rth/cygnus 96498 1999-06-12 18:31 p2/i386.h
-r--r--r-- rth/cygnus 231903 1999-06-12 18:31 p2/i386.md
-r--r--r-- rth/cygnus 33084 1999-06-12 18:32 p2/ChangeLog.P2
-</pre></p>
+</pre>
<p>The files d-p2-raw-* are diffs directly out of cvs, which is kind
of confusing because different things went in to different branches
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list