summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index 96ff786c..a958104f 100644
--- a/parser.c
+++ b/parser.c
@@ -465,6 +465,8 @@ static void provide_completions(const char *data,
{
val package_name = string_utf8(pkg_copy);
package = find_package(package_name);
+ if (!package)
+ return;
}
end = pkg;