Re: C++
Kristian Spangsege <[email protected]> Thu, 1 Mar 2012 16:42:50 +0100
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <CANspNZ=AmU_47HDLtwiJdjOcO3aKTK+d7TK=nEggYAKux+X-=w@mail.gmail.com> |
Found the info in the users guide: #compiler-settings directiveStartToken =3D % #end compiler-settings Now I have an additional question: There is no documented setting for changing the escaping character which is '\' (backslash) by default. Anyone know if there is an undocumented way of doing it? Regards, Kristian On Thu, Mar 1, 2012 at 4:17 PM, Kristian Spangsege <[email protected]> wrote: > > Thanks. That allows me to continue, but it would still be nice to be able= to reconfigure the syntax delimiters. The user guide states that it is pos= sible, but I still cannot find specific instructions. > > > > On Thu, Mar 1, 2012 at 4:03 PM, Uhanov, Kirill <[email protected]> = wrote: >> >> Try this >> >> \#include "my_herder.hpp" >> >> \#define MY_DEFINE=A0 64 >> >> Kirill >> >> >> >> From: Kristian Spangsege [mailto:[email protected]] >> Sent: Thursday, March 01, 2012 6:57 PM >> To: [email protected] >> Subject: [Cheetahtemplate-discuss] C++ >> >> >> >> Hi >> >> I'm trying to generate C++ output with Cheetah, and I'm having trouble w= ith # (hash marks) because it is used both by C++ preprocessor and by Cheet= ah. I've come to believe that it is possible to reconfigure Cheetah such th= at it recognizes '%' instead of '#' for example. However, I cannot find any= documentation or other specific information on how to do it. >> >> Any help would be greatly appreciated. >> >> Regards >> Kristian >> >> >> -------------------------------------------------------------------- >> Closed Joint Stock Company Intel A/O >> Registered legal address: Krylatsky Hills Business Park, >> 17 Krylatskaya Str., Bldg 4, Moscow 121614, >> Russian Federation >> >> This e-mail and any attachments may contain confidential material for >> the sole use of the intended recipient(s). Any review or distribution >> by others is strictly prohibited. If you are not the intended >> recipient, please contact the sender and delete all copies. > > ---------------------------------------------------------------------------= --- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing = also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/