作者itspeter (Peter)
看板EE_DSnP
标题[问题] 请问HW4 PDF文意..
时间Sat Apr 26 17:07:10 2008
在指令说命中,老师给的一些要检查的点中
第一点的
Guarded command errors:
1. lexOptions() == false
是什麽意思呢?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.252.4
1F:推 ric2k1:就是去呼叫 "CmdExec::lexOptions" 然後看看有没有 error 04/26 17:20
2F:→ ric2k1:options 会被 tokenized 存在 vector<string> 里 04/26 17:20
3F:→ itspeter:可以偷问一下老师是一个函式里呼叫一次还是不止一次吗? 04/26 17:24
4F:推 trancewu:lexOptions 还有 lexSingleOption 包在.o档中吗? 04/26 18:28
5F:推 ric2k1:三楼: 应该一次就好了. 04/26 21:41
6F:推 ric2k1:四楼: 是在 cmdParser.o 中, 但是可以看 hw3 src/cmd... 04/26 21:41