lessphp icon indicating copy to clipboard operation
lessphp copied to clipboard

Accurate file and line number when throwing undefined mixin or unknown block operation error.

Open yansern opened this issue 11 years ago • 1 comments
trafficstars

When an imported less file is calling an undefined mixin, LessPHP is unable to throw the correct file and line number. This fix adds a reference to the parser and the count position of the block so we can access the block's parser to throw the error while passing in the correct count position.

00000120

yansern avatar Dec 27 '13 04:12 yansern

Tnx!

pafnuty avatar Dec 30 '13 08:12 pafnuty