diff options
-rw-r--r-- | src/loadcolm.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loadcolm.cc b/src/loadcolm.cc index 027ffedb..494c1447 100644 --- a/src/loadcolm.cc +++ b/src/loadcolm.cc @@ -2382,7 +2382,8 @@ struct LoadColm break; case root_item::Include: { StmtList *includeList = walkInclude( rootItem.include() ); - stmtList->append( *includeList ); + if ( includeList ) + stmtList->append( *includeList ); break; } case root_item::Global: { |