Skip to content

Commit 6511952

Browse files
committed
Oversight in fde9694
1 parent ac9a31f commit 6511952

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/error.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export const INVALID_CUSTOM_PROPERTY_OVERRIDE = {
2727
export const INVALID_CUSTOM_PROPERTY_SYNTAX = {
2828
message: 'Invalid syntax',
2929
}
30+
export const INVALID_DECLARATION_SYNTAX_ERROR = {
31+
message: 'Cannot parse invalid declaration',
32+
}
3033
export const INVALID_DECLARATION_VALUE_ERROR = {
3134
message: 'Cannot parse invalid declaration value',
3235
}

lib/serialize.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,8 @@ function serializeComponentValue(value, context) {
17031703
return serializeFeatureTagValue(value)
17041704
case '<function>':
17051705
return serializeFunction(value)
1706+
case '<function-token>':
1707+
return `${serializeIdentifier(value)}(`
17061708
case '<hash-token>':
17071709
return serializeHash(value)
17081710
case '<image-set-option>':

0 commit comments

Comments
 (0)