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

77 lines
11 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_to9__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_to9__0"><a href="#difflib_chg_to9__top">t</a></td><td class="diff_header" id="from9_1">1</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"><a href="#difflib_chg_to9__top">t</a></td><td class="diff_header" id="to9_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="from9_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="to9_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="from9_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="to9_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="from9_4">4</td><td nowrap="nowrap">3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_4">4</td><td nowrap="nowrap">3&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="from9_5">5</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="to9_5">5</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"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_6">6</td><td nowrap="nowrap"><span class="diff_add">=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;OP&gt;
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from9_6">6</td><td nowrap="nowrap">1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_7">7</td><td nowrap="nowrap">1&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="from9_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="to9_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"></td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to9_9">9</td><td nowrap="nowrap"><span class="diff_add">c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;
</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from9_8">8</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="to9_10">10</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="from9_9">9</td><td nowrap="nowrap">3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_11">11</td><td nowrap="nowrap">3&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="from9_10">10</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="to9_12">12</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="from9_11">11</td><td nowrap="nowrap">void&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_13">13</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="from9_12">12</td><td nowrap="nowrap">func&nbsp;&nbsp;&nbsp;&nbsp;&lt;IDN&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_14">14</td><td nowrap="nowrap">func&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="from9_13">13</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="to9_15">15</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="from9_14">14</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="to9_16">16</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="from9_15">15</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="to9_17">17</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="from9_16">16</td><td nowrap="nowrap">int&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_18">18</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="from9_17">17</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="to9_19">19</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="from9_18">18</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="to9_20">20</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="from9_19">19</td><td nowrap="nowrap">5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;INT&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_21">21</td><td nowrap="nowrap">5&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="from9_20">20</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="to9_22">22</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="from9_21">21</td><td nowrap="nowrap">return&nbsp;&nbsp;&lt;KW&gt;</td><td class="diff_next"></td><td class="diff_header" id="to9_23">23</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="from9_22">22</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="to9_24">24</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="from9_23">23</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="to9_25">25</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="from9_24">24</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="to9_26">26</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="from9_25">25</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="to9_27">27</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="from9_26">26</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="to9_28">28</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>