|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
C++Hi
I'm trying to generate C++ output with Cheetah, and I'm having trouble with # (hash marks) because it is used both by C++ preprocessor and by Cheetah. I've come to believe that it is possible to reconfigure Cheetah such that 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 ------------------------------------------------------------------------------ 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/ _______________________________________________ Cheetahtemplate-discuss mailing list Cheetahtemplate-discuss@... https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss |
|
|
Re: C++Try this \#include "my_herder.hpp" \#define MY_DEFINE 64 Kirill From: Kristian Spangsege [mailto:kristian.spangsege@...]
Hi -------------------------------------------------------------------- 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/ _______________________________________________ Cheetahtemplate-discuss mailing list Cheetahtemplate-discuss@... https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss |
|
|
Re: C++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 possible, but I still cannot find specific instructions.
On Thu, Mar 1, 2012 at 4:03 PM, Uhanov, Kirill <kirill.uhanov@...> wrote:
------------------------------------------------------------------------------ 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/ _______________________________________________ Cheetahtemplate-discuss mailing list Cheetahtemplate-discuss@... https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss |
|
|
Re: C++Found the info in the users guide:
#compiler-settings directiveStartToken = % #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 <kristian.spangsege@...> 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 possible, but I still cannot find specific instructions. > > > > On Thu, Mar 1, 2012 at 4:03 PM, Uhanov, Kirill <kirill.uhanov@...> wrote: >> >> Try this >> >> \#include "my_herder.hpp" >> >> \#define MY_DEFINE 64 >> >> Kirill >> >> >> >> From: Kristian Spangsege [mailto:kristian.spangsege@...] >> Sent: Thursday, March 01, 2012 6:57 PM >> To: cheetahtemplate-discuss@... >> Subject: [Cheetahtemplate-discuss] C++ >> >> >> >> Hi >> >> I'm trying to generate C++ output with Cheetah, and I'm having trouble with # (hash marks) because it is used both by C++ preprocessor and by Cheetah. I've come to believe that it is possible to reconfigure Cheetah such that 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/ _______________________________________________ Cheetahtemplate-discuss mailing list Cheetahtemplate-discuss@... https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss |
| Free embeddable forum powered by Nabble | Forum Help |