code:

$def with ()

$if True: $# comment test
    pass
$else:
    pass

it will raise a error:

<type 'exceptions.SyntaxError'> at /xxx/xxx
invalid syntax Template traceback: File 'templates/test.html', line 6
pass (test.html, line 6)

if I remove the comment, it works just fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to