improved error messages

This commit is contained in:
ceriel
1989-11-17 11:44:48 +00:00
parent 7f958dfb8d
commit 0ba5b155a3
2 changed files with 18 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ LLmessage(tk)
*/
register struct token *dotp = ˙
error("%s missing", symbol2str(tk));
error("%s missing before %s", symbol2str(tk), symbol2str(dotp->tk_symb));
aside = *dotp;
asidetype = toktype;