We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abda44 commit 034d29bCopy full SHA for 034d29b
gnat2goto/driver/driver.adb
@@ -241,15 +241,13 @@ package body Driver is
241
Start_Symbol.BaseName := Start_Name;
242
243
Set_Return_Type (Start_Type, Void_Type);
244
- Global_Symbol_Table.Insert (Start_Name, Start_Symbol);
245
- Follow_Type_Declarations (Global_Symbol_Table, Followed_Symbol_Table);
246
247
Start_Symbol.SymType := Start_Type;
248
Start_Symbol.Value := Start_Body;
249
Start_Symbol.Mode := Intern ("C");
250
251
Global_Symbol_Table.Insert (Start_Name, Start_Symbol);
252
-
+ Follow_Type_Declarations (Global_Symbol_Table, Followed_Symbol_Table);
253
Put_Line (Sym_Tab_File,
254
Create (SymbolTable2Json (Followed_Symbol_Table)).Write);
255
end if;
0 commit comments