summaryrefslogtreecommitdiff
path: root/scss/src/grammar/README
blob: 5a13ddee50524d87b9d1cd158173860b8f01f559 (plain)
1
2
3
4
5
6
To build the parser from the grammar do:
  `python ./yapps2.py grammar.g`

This will produce `grammar.py`; to that file modify the UNITS to be: '(?<!\\s)(?:' + '|'.join(_units) + ')(?![-\\w])'

Paste the parser into pyScss's relevant block.