syntax smarty

state html
	str "{*" comment
	str "{literal}" literal
	char \{ smarty
	eat html

state comment
	str "*}" html comment
	eat comment

state literal
	str "{/literal}" html literal
	eat literal

state smarty
	char \} html smarty
	eat smarty

default literal code
