leafo / lessphp

LESS compiler written in PHP

Home Page:http://leafo.net/lessphp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

each loop -> Uncaught Exception: parse error: failed at `); `

Bizarrus opened this issue · comments

When i try to use the each method, the parser will break:

LESS:

@size: 4.66666666667%, 13.3333333333%, 22%, 30.6666666667%, 39.3333333333%, 48%, 56.6666666667%, 65.3333333333%, 74.0%, 82.6666666667%, 91.3333333333%, 100%;
	each(@size, {
        ui-column[data-siz="@{index}"],
	ui-columns[data-siz="@{index}"] {
                width: @value;
        }
    });

Error:
Fatal error: Uncaught Exception: parse error: failed at );