[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Why remove [[ ... [[ ... ]] ... ]]
- From: "mos" <mmosquito@...>
- Date: Sat, 18 Mar 2006 10:20:39 +0800
> One more than the previous one?
I create the cmd like!
void SendCmd(int cmd, const char* cmd)
s << "SendCmd(" << cmd << ",[[" << cmd << "]])"
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