eknkc / pug

Go port of Pug (jade) template engine
MIT License
45 stars 6 forks source link

Extends/Extend doesn't work #2

Open dzpt opened 6 years ago

dzpt commented 6 years ago

Tested with extend and doesn't work.

[line 2, col 1]: no match found, expected: "!=", "#", "+", "-", ".", "//", "<", "=", "\x02", "block", "doctype", "each", "extend", "if", "include", "mixin", "unless", "|", [ \t], [\n], [_a-zA-Z] or EOF

Even i already have extend at the beginning of the file.

robbyoconnor commented 6 years ago

This is covered in the tests..;are you sure you're doing it correctly?