diff --git a/test/corpus/comments_in_maps_regression.txt b/test/corpus/comments_in_maps_regression.txt new file mode 100644 index 0000000..9aa2cee --- /dev/null +++ b/test/corpus/comments_in_maps_regression.txt @@ -0,0 +1,27 @@ +=== +Comments in maps (regression test) +=== + +install = { + gvd: "bin/gvd", + # libgv: "lib/libgv.so", +} + +--- + +(source_file + (statement + (assignment + left: (identifier) + right: (expression + (map + (map_item + key: (expression (identifier)) + value: (expression (literal (string))) + ) + (comment) + ) + ) + ) + ) +)