diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-16 19:33:32 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-16 19:33:32 +0000 |
| commit | 8a1b754b065f284ce2465488ccb92f5ba50f7a62 (patch) | |
| tree | 833c660af885f017c16ef33df402bef6048db199 | |
| parent | c17833297ea45b783fef8a548eae5b66fbe43786 (diff) | |
Add cut to style name rule
| -rw-r--r-- | lib/style-reader.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js index 13af3e7..b781792 100644 --- a/lib/style-reader.js +++ b/lib/style-reader.js @@ -67,6 +67,7 @@ function documentMatcherRule() { var styleNameRule = lop.rules.then( lop.rules.sequence( lop.rules.tokenOfType("open-square-bracket"), + lop.rules.sequence.cut(), lop.rules.token("identifier", "style-name"), lop.rules.tokenOfType("equals"), lop.rules.sequence.capture(stringRule), |
