~bradclawsie/Lang-Go-Mod

082d45ed72a28220b8f961c8d27fd6fac60c4002 — Ben Bullock 1 year, 10 months ago e771bb6
Process comments

Syntax for 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";
        }