diff --git a/src/slime_parser.peg.eex b/src/slime_parser.peg.eex index 5b6e0ea..ef764cf 100644 --- a/src/slime_parser.peg.eex +++ b/src/slime_parser.peg.eex @@ -60,8 +60,6 @@ attribute <- attribute_name '=' attribute_value; attribute_value <- simple:string / dynamic:(string_with_interpolation / attribute_code); string <- '"' ('\\' . / !('"' / '#') .)* '"'; - -% TODO: separate static and dynamic blocks string_with_interpolation <- '"' (interpolation / '\\' . / !'"' .)* '"'; attribute_code <- (parentheses / brackets / braces / !(space / eol / ')' / ']' / '}') .)+;