chimericdream/CSS-Ally — Issue #11: Large files don't generate correctly
Author: chimericdream
Created: 2012-01-16 17:22:38+00:00
State: open
Labels: Bug, Planned, Refactor

This is due to the limit of the PHP pcre engine, which has a length limit on the string.

Proposed solution:
Refactor the way the string is built and parsed.

Rather than concatenate all the files together to build the CSS string for parsing, store each separate file's contents in its own variable, parse them individually, then concatenate at the end.

This may affect mixin and variable parsing, which would have to be updated to allow for variables/mixins declared in one file and used in another.