Re: C++
Kristian Spangsege <[email protected]> Thu, 1 Mar 2012 16:17:00 +0100
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <CANspNZkVwnE0g3y3scogS7-3yiTxg91dYbETET5UAdmwAY7dDg@mail.gmail.com> |
--===============8692048754493243507== Content-Type: multipart/alternative; boundary=20cf30426fc0a5814804ba2ff3a3 --20cf30426fc0a5814804ba2ff3a3 Content-Type: text/plain; charset=ISO-8859-1 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 <[email protected]>wrote: > Try this**** > > \#include "my_herder.hpp"**** > > \#define MY_DEFINE 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 > 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. > --20cf30426fc0a5814804ba2ff3a3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks. That allows me to continue, but it would still be nice to be able t= o reconfigure the syntax delimiters. The user guide states that it is possi= ble, but I still cannot find specific instructions.<br><br><br><div class= =3D"gmail_quote"> On Thu, Mar 1, 2012 at 4:03 PM, Uhanov, Kirill <span dir=3D"ltr"><<a hre= f=3D"mailto:[email protected]">[email protected]</a>></span>= wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor= der-left:1px #ccc solid;padding-left:1ex"> <div link=3D"blue" vlink=3D"purple" lang=3D"RU"> <div> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d" lang=3D"EN-US">Try this<u= ></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d" lang=3D"EN-US">\#include = "my_herder.hpp"<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d" lang=3D"EN-US">\#define M= Y_DEFINE=A0 64<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d" lang=3D"EN-US">Kirill<u><= /u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:"Ca= libri","sans-serif";color:#1f497d" lang=3D"EN-US"><u></u>=A0= <u></u></span></p> <p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:"= ;Tahoma","sans-serif"" lang=3D"EN-US">From:</span></b><span = style=3D"font-size:10.0pt;font-family:"Tahoma","sans-serif&q= uot;" lang=3D"EN-US"> Kristian Spangsege [mailto:<a href=3D"mailto:kristian= [email protected]" target=3D"_blank">[email protected]</a>] <br> <b>Sent:</b> Thursday, March 01, 2012 6:57 PM<br> <b>To:</b> <a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a><br> <b>Subject:</b> [Cheetahtemplate-discuss] C++<u></u><u></u></span></p><div>= <div class=3D"h5"> <p class=3D"MsoNormal"><u></u>=A0<u></u></p> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Hi<br> <br> I'm trying to generate C++ output with Cheetah, and I'm having trou= ble 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 Cheeta= h such that it recognizes '%' instead of '#' for example. However, I cannot find any documentation or other specific in= formation on how to do it.<br> <br> Any help would be greatly appreciated.<br> <br> Regards<br> Kristian<u></u><u></u></p> </div></div></div> <font face=3D"monospace"><br> --------------------------------------------------------------------<br> Closed Joint Stock Company Intel A/O<br> Registered legal address: Krylatsky Hills Business Park, <br> 17 Krylatskaya Str., Bldg 4, Moscow 121614, <br> Russian Federation<br> <br> This e-mail and any attachments may contain confidential material for<br> the sole use of the intended recipient(s). Any review or distribution<br> by others is strictly prohibited. If you are not the intended<br> recipient, please contact the sender and delete all copies.</font></div> </blockquote></div><br> --20cf30426fc0a5814804ba2ff3a3-- --===============8692048754493243507== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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/ --===============8692048754493243507== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Cheetahtemplate-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss --===============8692048754493243507==--