introduced the em_code(3L) and em_mes(3L) modules

This commit is contained in:
erikb
1986-03-25 16:40:43 +00:00
parent 1afbf0e20f
commit 80155f7b4c
23 changed files with 99 additions and 177 deletions

View File

@@ -229,7 +229,7 @@ do_include()
AccFileSpecifier = 1;
if (((tok = GetToken(&tk)) == FILESPECIFIER) || tok == STRING)
filenm = tk.tk_str;
filenm = tk.tk_bts;
else {
lexerror("bad include syntax");
filenm = (char *)0;
@@ -393,7 +393,7 @@ do_line(l)
LineNumber = l;
/* is there a filespecifier? */
if (GetToken(&tk) == STRING)
FileName = tk.tk_str;
FileName = tk.tk_bts;
SkipRestOfLine();
}
@@ -652,7 +652,7 @@ domacro()
}
LineNumber = tk.tk_ival;
if ((tok = GetToken(&tk)) == STRING)
FileName = tk.tk_str;
FileName = tk.tk_bts;
else
if (tok != EOI) {
error("illegal # line");