aboutsummaryrefslogtreecommitdiffstats
path: root/src/file_comments.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_comments.adb')
-rw-r--r--src/file_comments.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file_comments.adb b/src/file_comments.adb
index 246a7ad7b..ef292c43f 100644
--- a/src/file_comments.adb
+++ b/src/file_comments.adb
@@ -38,8 +38,10 @@ package body File_Comments is
Comments_Table.Append (File_Comments_Table'(Table => null,
Priv => <>));
end loop;
- File_Comments_Tables.Init (Comments_Table.Table (Ctxt.File), 16);
end if;
+
+ -- Always reset the table.
+ File_Comments_Tables.Init (Comments_Table.Table (Ctxt.File), 16);
end Comment_Init_Scan;
procedure Comment_Close_Scan is