ll1的词法分析实现,没有短语分析,只是确定是不是LL1文法.
源代码在线查看: ll1文法判别.plg
Build Log
--------------------Configuration: LL1文法判别 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\skyhawk\LOCALS~1\Temp\RSP69.tmp" with contents
[
/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"Debug/LL1文法判别.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
"E:\大三各门作业\编译原理实验\LL1文法判别\LL1_J.CPP"
]
Creating command line "cl.exe @C:\DOCUME~1\skyhawk\LOCALS~1\Temp\RSP69.tmp"
Creating temporary file "C:\DOCUME~1\skyhawk\LOCALS~1\Temp\RSP6A.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/LL1文法判别.pdb" /debug /machine:I386 /out:"Debug/LL1文法判别.exe" /pdbtype:sept
".\Debug\LL1_J.OBJ"
]
Creating command line "link.exe @C:\DOCUME~1\skyhawk\LOCALS~1\Temp\RSP6A.tmp"
Output Window
Compiling...
LL1_J.CPP
e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(81) : warning C4101: 'AllNone' : unreferenced local variable
e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(231) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(278) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(316) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(327) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(338) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(352) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(361) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(371) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(405) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(407) : warning C4018: ' e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(368) : warning C4715: 'find_state' : not all control paths return a value
e:\大三各门作业\编译原理实验\ll1文法判别\ll1.h(378) : warning C4715: 'find_None' : not all control paths return a value
Linking...
Results
LL1文法判别.exe - 0 error(s), 0 warning(s)