Added debugger support

This commit is contained in:
ceriel
1990-12-11 13:52:08 +00:00
parent b3287b2b0f
commit f997bd0be8
15 changed files with 449 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
{
#include <alloc.h>
#include <em.h>
#include <stb.h>
#include "LLlex.h"
#include "chk_expr.h"
@@ -46,6 +47,14 @@ Statement
]?
{ if( !options['L'] )
C_lin((arith) dot.tk_lineno);
if (options['g']) {
static int ms_lineno;
if (ms_lineno != dot.tk_lineno) {
C_ms_std((char *) 0, N_SLINE, dot.tk_lineno);
ms_lineno = dot.tk_lineno;
}
}
}
[
SimpleStatement