[html5] r1562 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed May 7 23:07:58 PDT 2008


Author: ianh
Date: 2008-05-07 23:07:57 -0700 (Wed, 07 May 2008)
New Revision: 1562

Modified:
   index
   source
Log:
[] (0) Make parsing lists of numbers have some semblence of an attempt at parsing actual numbers correctly.

Modified: index
===================================================================
--- index	2008-05-08 02:29:08 UTC (rev 1561)
+++ index	2008-05-08 06:07:57 UTC (rev 1562)
@@ -4884,9 +4884,6 @@
     <p>Let <var title="">value</var> be 0.
 
    <li>
-    <p>Let <var title="">multiple</var> be 1.
-
-   <li>
     <p>Let <var title="">started</var> be false.
 
    <li>
@@ -4932,14 +4929,11 @@
        <li>If <var title="">finished</var> is true, skip to the next step in
         the overall set of steps.
 
-       <li>Let <var title="">n</var> be the value of the digit, interpreted
-        in base ten, multiplied by <var title="">multiple</var>.
+       <li>Multiply <var title="">value</var> by ten.
 
-       <li>Add <var title="">n</var> to <var title="">value</var>.
+       <li>Add the value of the digit, interpreted in base ten, to <var
+        title="">value</var>.
 
-       <li>If <var title="">value</var> is greater than zero, multiply <var
-        title="">multiple</var> by ten.
-
        <li>Let <var title="">started</var> be true.
       </ol>
 

Modified: source
===================================================================
--- source	2008-05-08 02:29:08 UTC (rev 1561)
+++ source	2008-05-08 06:07:57 UTC (rev 1562)
@@ -3352,7 +3352,6 @@
 
    <li><p>Let <var title="">negated</var> be false.</p></li>
    <li><p>Let <var title="">value</var> be 0.</p></li>
-   <li><p>Let <var title="">multiple</var> be 1.</p></li>
    <li><p>Let <var title="">started</var> be false.</p></li>
    <li><p>Let <var title="">finished</var> be false.</p></li>
    <li><p>Let <var title="">bogus</var> be false.</p></li>
@@ -3404,15 +3403,11 @@
        <li>If <var title="">finished</var> is true, skip to the next
        step in the overall set of steps.</li>
 
-       <li>Let <var title="">n</var> be the value of the digit,
-       interpreted in base ten, multiplied by <var
-       title="">multiple</var>.</li>
+       <li>Multiply <var title="">value</var> by ten.</li>
 
-       <li>Add <var title="">n</var> to <var title="">value</var>.</li>
+       <li>Add the value of the digit, interpreted in base ten, to
+       <var title="">value</var>.</li>
 
-       <li>If <var title="">value</var> is greater than zero, multiply
-       <var title="">multiple</var> by ten.</li>
-
        <li>Let <var title="">started</var> be true.</li>
 
       </ol>




More information about the Commit-Watchers mailing list