⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parser.plg

📁 一个简单的语法分析器,实现对布尔表达式,算术表达式的分析,以及if语句,FOR语句,WHILE语句,DO_WHILE语句的分析
💻 PLG
字号:
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: PARSER - Win32 Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\孙辉\LOCALS~1\Temp\RSP5AB.tmp" with contents
[
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/PARSER.pdb" /debug /machine:I386 /out:"Debug/PARSER.exe" /pdbtype:sept 
.\Debug\assign.obj
.\Debug\bool.obj
.\Debug\expression.obj
.\Debug\for.obj
.\Debug\if.obj
.\Debug\Parser.obj
.\Debug\repeat.obj
.\Debug\while.obj
]
Creating command line "link.exe @"C:\DOCUME~1\孙辉\LOCALS~1\Temp\RSP5AB.tmp""
<h3>Output Window</h3>
Linking...
bool.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
bool.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
bool.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
bool.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
bool.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
bool.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
bool.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
expression.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
expression.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
expression.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
expression.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
expression.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
expression.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
expression.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
for.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
for.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
for.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
for.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
for.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
for.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
for.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
for.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
for.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
for.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
for.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
if.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
if.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
if.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
if.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
if.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
if.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
if.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
if.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
if.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
if.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
if.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
Parser.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
Parser.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
Parser.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
Parser.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
Parser.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
Parser.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
Parser.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
repeat.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
repeat.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
repeat.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
repeat.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
repeat.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
repeat.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
repeat.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
while.obj : error LNK2005: "int variable_count" (?variable_count@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int temp_count" (?temp_count@@3HA) already defined in assign.obj
while.obj : error LNK2005: "class ifstream SymbleIn" (?SymbleIn@@3Vifstream@@A) already defined in assign.obj
while.obj : error LNK2005: "int lineOfProc" (?lineOfProc@@3HA) already defined in assign.obj
while.obj : error LNK2005: "bool expr_rtn_addr_control" (?expr_rtn_addr_control@@3_NA) already defined in assign.obj
while.obj : error LNK2005: "int curr_code" (?curr_code@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int curr_addr" (?curr_addr@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int expr_rtn_addr" (?expr_rtn_addr@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int lineOfEqu" (?lineOfEqu@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int pos" (?pos@@3HA) already defined in assign.obj
while.obj : error LNK2005: "int error_count" (?error_count@@3HA) already defined in assign.obj
while.obj : error LNK2005: "struct Equ * equ" (?equ@@3PAUEqu@@A) already defined in assign.obj
while.obj : error LNK2005: "int expr_length" (?expr_length@@3HA) already defined in assign.obj
while.obj : error LNK2005: "struct Expr * expr" (?expr@@3PAUExpr@@A) already defined in assign.obj
while.obj : error LNK2005: "char * curr_name" (?curr_name@@3PADA) already defined in assign.obj
while.obj : error LNK2005: "class ofstream EquOut" (?EquOut@@3Vofstream@@A) already defined in assign.obj
expression.obj : error LNK2001: unresolved external symbol "void __cdecl Expression_Init(void)" (?Expression_Init@@YAXXZ)
Debug/PARSER.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.



<h3>Results</h3>
PARSER.exe - 114 error(s), 0 warning(s)
</pre>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -