You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix issue parsing block comments, and always retain prefix comments for cgo imports. (#49)
* Fix "Error: an error occured while trying to parse imports: path is missing starting quotes" when parsing a file with block comments.
Fixes#48.
Note that this only handles simple cases for block comments, and does
not cover more complex cases (see FIXME in parse.go).
Signed-off-by: Charles Korn <[email protected]>
* Make block comment parsing more robust to different formatting.
Signed-off-by: Charles Korn <[email protected]>
* Add test case for multiple comments before a "C" import.
Signed-off-by: Charles Korn <[email protected]>
0 commit comments