2024-compiler/tests/10_编译错误示例/lexical_diff.html

68 lines
8.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
table.diff {font-family:Courier; border:medium;}
.diff_header {background-color:#e0e0e0}
td.diff_header {text-align:right}
.diff_next {background-color:#c0c0c0}
.diff_add {background-color:#aaffaa}
.diff_chg {background-color:#ffff77}
.diff_sub {background-color:#ffaaaa}
</style>
</head>
<body>
<table class="diff" id="difflib_chg_to11__top"
cellspacing="0" cellpadding="0" rules="groups" >
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
<tbody>
<tr><td class="diff_next" id="difflib_chg_to11__0"><a href="#difflib_chg_to11__top">t</a></td><td class="diff_header" id="from11_1">1</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"><a href="#difflib_chg_to11__top">t</a></td><td class="diff_header" id="to11_1">1</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_2">2</td><td nowrap="nowrap">a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_2">2</td><td nowrap="nowrap">a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_3">3</td><td nowrap="nowrap">=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_3">3</td><td nowrap="nowrap">=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_4">4</td><td nowrap="nowrap">10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_4">4</td><td nowrap="nowrap">10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_5">5</td><td nowrap="nowrap">void&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_5">5</td><td nowrap="nowrap">void&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_6">6</td><td nowrap="nowrap">main&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_6">6</td><td nowrap="nowrap">main&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_7">7</td><td nowrap="nowrap">(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_7">7</td><td nowrap="nowrap">(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_8">8</td><td nowrap="nowrap">)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_8">8</td><td nowrap="nowrap">)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_9">9</td><td nowrap="nowrap">{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_9">9</td><td nowrap="nowrap">{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_10">10</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_10">10</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_11">11</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_11">11</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_12">12</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_12">12</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_13">13</td><td nowrap="nowrap">=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_13">13</td><td nowrap="nowrap">=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_14">14</td><td nowrap="nowrap">2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_14">14</td><td nowrap="nowrap">2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_15">15</td><td nowrap="nowrap">return&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_15">15</td><td nowrap="nowrap">return&nbsp;&nbsp;&lt;KW&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_16">16</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_16">16</td><td nowrap="nowrap">b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_17">17</td><td nowrap="nowrap">-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_17">17</td><td nowrap="nowrap">-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_18">18</td><td nowrap="nowrap">a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_18">18</td><td nowrap="nowrap">a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;<span class="diff_add">
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from11_19">19</td><td nowrap="nowrap">}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;</td><td class="diff_next"></td><td class="diff_header" id="to11_19">19</td><td nowrap="nowrap">}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SE&gt;<span class="diff_add">
</span></td></tr>
</tbody>
</table>
<table class="diff" summary="Legends">
<tr> <th colspan="2"> Legends </th> </tr>
<tr> <td> <table border="" summary="Colors">
<tr><th> Colors </th> </tr>
<tr><td class="diff_add">&nbsp;Added&nbsp;</td></tr>
<tr><td class="diff_chg">Changed</td> </tr>
<tr><td class="diff_sub">Deleted</td> </tr>
</table></td>
<td> <table border="" summary="Links">
<tr><th colspan="2"> Links </th> </tr>
<tr><td>(f)irst change</td> </tr>
<tr><td>(n)ext change</td> </tr>
<tr><td>(t)op</td> </tr>
</table></td> </tr>
</table>
</body>
</html>