Skip to content

Commit 66dbf82

Browse files
committed
fix antlr parser
1 parent 05f9305 commit 66dbf82

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/nodes/ContractDefinition.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const specifiers = (node, path, print) => {
2222
document.push([
2323
'layout at',
2424
printSeparatedItem(path.call(print, 'storageLayout'), {
25-
firstSeparator: line
25+
firstSeparator: line,
26+
lastSeparator: node.baseContracts.length === 0 ? line : ''
2627
})
2728
]);
2829
}

0 commit comments

Comments
 (0)