projects
/
project
/
uqmi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
detect comments with no whitespace after //
[project/uqmi.git]
/
data
/
gen-common.pm
diff --git
a/data/gen-common.pm
b/data/gen-common.pm
index
38691fb
..
60d73e8
100644
(file)
--- a/
data/gen-common.pm
+++ b/
data/gen-common.pm
@@
-22,7
+22,7
@@
$prefix eq 'ctl_' and $ctl = 1;
sub get_json() {
local $/;
my $json = <>;
- $json =~ s/^\s*\/\/
.*$//mg;
+ $json =~ s/^\s*\/\/.*$//mg;
return decode_json($json);
}