Allow mixin definitions to have a space between the = and the name.

This commit is contained in:
Nathan Weizenbaum 2008-09-14 23:52:36 -07:00
parent 452b2c2584
commit c2312ecb01
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ END
end end
def parse_mixin_definition(line) def parse_mixin_definition(line)
mixin_name = line[1..-1] mixin_name = line[1..-1].strip
@mixins[mixin_name] = [] @mixins[mixin_name] = []
index = @line index = @line
line, tabs = @lines[index] line, tabs = @lines[index]