[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why remove [[ ... [[ ... ]] ... ]]
- From: "mos" <mmosquito@...>
- Date: Sat, 18 Mar 2006 10:20:39 +0800
Hi
> One more than the previous one?
No!
I create the cmd like!
void SendCmd(int cmd, const char* cmd)
{
stringstream s;
s << "SendCmd(" << cmd << ",[[" << cmd << "]])"
SendCmd(s);
}
Thanks for you given function quete(s), there may be
s << "SendCmd(" << cmd << "," << quete(cmd) << ")";
> now it is easy to write a Lua pattern to match such comments
you already did it on 5.02 !
> it should be easier to write syntax highlight and other tools for Lua
but I still suggest you caring more about the user than tools