error messages and error handling

This commit is contained in:
dick
1988-09-16 23:19:50 +00:00
parent 47a9fdaaf1
commit fe62ccb08d
27 changed files with 111 additions and 101 deletions

View File

@@ -6,6 +6,7 @@
/* D E C L A R A T I O N S P E C I F I E R C H E C K I N G */
#include "nofloat.h"
#include "assert.h"
#include "Lpars.h"
#include "decspecs.h"
#include "arith.h"
@@ -28,8 +29,7 @@ do_decspecs(ds)
*/
register struct type *tp = ds->ds_type;
if (level == L_FORMAL1)
crash("do_decspecs");
ASSERT(level != L_FORMAL1);
if ( level == L_GLOBAL &&
(ds->ds_sc == AUTO || ds->ds_sc == REGISTER)