Parser triggers notices if file ends with ; #5

Closed
apancutt opened this Issue Nov 14, 2011 · 0 comments

Projects

None yet

2 participants

@apancutt

test.less

@myVar: 10px;

Attempt to compile:

bin/lessc test.less test.css

Output:

PHP Notice:  Uninitialized string offset: 15 in .../less.php/lib/Less/Parser.php on line 1045

Adding a new line or ending the file with a } appears to solve the problem, for now.

@agar agar closed this in 07e6468 Nov 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment