Skip to content

Commit c02a5d2

Browse files
committed
Add location data to empty "program" node
1 parent f878107 commit c02a5d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser.pegjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ inner_program
300300
});
301301
}
302302
/ empty {
303-
return ({
303+
return loc({
304304
type: "program",
305305
statements: [],
306306
});

0 commit comments

Comments
 (0)