From f400a0da0fcd3e4d27d915b57c54f504813ef1d3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 4 Sep 2017 20:24:09 +0200 Subject: pkg/ast: fix struct comment parsing --- pkg/ast/testdata/all.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pkg/ast/testdata') diff --git a/pkg/ast/testdata/all.txt b/pkg/ast/testdata/all.txt index 9ddf67844..b71b7919c 100644 --- a/pkg/ast/testdata/all.txt +++ b/pkg/ast/testdata/all.txt @@ -28,3 +28,14 @@ include include "linux/foo.h" incdir incdir "/foo/bar" + +s2 { + f1 int8 + + # comment + + f2 int8 + + # comment + +} -- cgit mrf-deployment