diff options
Diffstat (limited to 'src/xkbcomp/symbols.c')
-rw-r--r-- | src/xkbcomp/symbols.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c index 6d46884..58f73e6 100644 --- a/src/xkbcomp/symbols.c +++ b/src/xkbcomp/symbols.c @@ -569,6 +569,9 @@ HandleIncludeSymbols(SymbolsInfo *info, IncludeStmt *include) { SymbolsInfo included; + if (!include) + return false; + InitSymbolsInfo(&included, info->keymap, info->actions, &info->mods); included.name = include->stmt; include->stmt = NULL; |