leafo/lessphp — Issue #166: Single line comment at end of block results in error
Author: libeco
Created: 2011-12-19 08:48:21+00:00
State: open

Hi there,

With the latest LESS-PHP version (0.3.0) I'm getting a parse error when a single line comments is placed after the last property in a block. Example:

This works just fine:
`.test {
color: #ff0000; // Test
background-color: #ff0000;
}`

This results in: "parse error: unclosed block":
`.test {
background-color: #ff0000;
color: #ff0000; // Test
}`

Thanks in advance!