Merge pull request #1 from benkasminbullock/master Process comments
1 files changed, 5 insertions(+), 0 deletions(-) M lib/Lang/Go/Mod.pm
M lib/Lang/Go/Mod.pm => lib/Lang/Go/Mod.pm +5 -0
@@ 121,6 121,11 @@ sub parse_go_mod { if ( defined $m->{'require'}->{$1} ); $m->{'require'}->{$1} = $2; } + elsif ( $line =~ m!^\s*//.*$! ) { + + # comment + + } else { croak "unknown line content: $line"; }