Merge pull request #23 from danez/fix-comments

Fix leading comments added from previous node
This commit is contained in:
Sebastian McKenzie
2016-06-22 12:44:12 +01:00
committed by GitHub
4 changed files with 46 additions and 71 deletions

View File

@@ -117,27 +117,8 @@
"column": 31
}
},
"name": "a",
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " this is a comment ",
"start": 4,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 27
}
}
}
]
"name": "a"
}
},
"children": [
{
@@ -220,4 +201,4 @@
}
}
]
}
}