summaryrefslogtreecommitdiff
path: root/lib/CIL
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CIL')
-rw-r--r--lib/CIL/Utils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CIL/Utils.pm b/lib/CIL/Utils.pm
index e9611cf..47f7ada 100644
--- a/lib/CIL/Utils.pm
+++ b/lib/CIL/Utils.pm
@@ -41,7 +41,7 @@ sub parse_cil_file {
my ($class, $filename, $last_field) = @_;
my @lines = read_file($filename);
- return unless @lines;
+ return {} unless @lines;
return $class->parse_from_lines( $last_field, @lines );
}