improved error messages

This commit is contained in:
ceriel
1989-11-17 11:44:48 +00:00
parent c023409091
commit ff90971199
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;