diff options
-rw-r--r-- | src/ortho/debug/ortho_debug.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ortho/debug/ortho_debug.adb b/src/ortho/debug/ortho_debug.adb index 8285a6473..ca67b33e4 100644 --- a/src/ortho/debug/ortho_debug.adb +++ b/src/ortho/debug/ortho_debug.adb @@ -1575,6 +1575,10 @@ package body Ortho_Debug is is N : O_Anode; begin + if Assocs.Interfaces = null then + -- Too many arguments. + raise Syntax_Error; + end if; Check_Type (Assocs.Interfaces.Dtype, Val.Rtype); Check_Ref (Val); N := new O_Anode_Type'(Next => null, |