New version, with an option for strict Modula-2, and

warnings for unused or uninitialized variables
This commit is contained in:
ceriel
1987-10-19 11:28:37 +00:00
parent 211d2bcfff
commit 503edee161
21 changed files with 341 additions and 196 deletions

View File

@@ -21,6 +21,7 @@
#include <em_arith.h>
#include <em_label.h>
#include "strict3rd.h"
#include "input.h"
#include "f_info.h"
#include "LLlex.h"
@@ -170,9 +171,11 @@ _error(class, node, fmt, argv)
case WARNING:
case LEXWARNING:
switch(warn_class) {
#ifndef STRICT_3RD_ED
case W_OLDFASHIONED:
remark = "(old-fashioned use)";
break;
#endif
case W_STRICT:
remark = "(strict)";
break;