summaryrefslogtreecommitdiff
path: root/gcc/ada/par-ch5.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 14:23:54 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-07-30 14:23:54 +0000
commit60bbf79f2b94819e95683fa8e47e8f7c18b497f5 (patch)
treed06e17fca943d56182dece1201f9fd2cc8e60510 /gcc/ada/par-ch5.adb
parentcca3377c70107c86136ae9031edf3fb608e60c05 (diff)
downloadgcc-60bbf79f2b94819e95683fa8e47e8f7c18b497f5.tar.gz
2014-07-30 Robert Dewar <dewar@adacore.com>
* par-ch5.adb (P_Sequence_Of_Statements): Properly handle missing semicolon after name. 2014-07-30 Pascal Obry <obry@adacore.com> * prj.ads (Gprinstall_Flags): New constant. * prj-nmsc.adb (Check_Library_Attributes): Do not fails for missing library dir if Directories_Must_Exist_In_Projects is false. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/par-ch5.adb')
-rw-r--r--gcc/ada/par-ch5.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/par-ch5.adb b/gcc/ada/par-ch5.adb
index 1d5504df922..7b1bc44f39d 100644
--- a/gcc/ada/par-ch5.adb
+++ b/gcc/ada/par-ch5.adb
@@ -699,6 +699,11 @@ package body Ch5 is
else
TF_Semicolon;
+
+ -- Normal processing as though semicolon were present
+
+ Change_Name_To_Procedure_Call_Statement (Name_Node);
+ Append_To (Statement_List, Name_Node);
Statement_Required := False;
end if;