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

@@ -2,6 +2,8 @@
/* STATEMENT SYNTAX PARSER */
{
#include <em.h>
#include "debug.h"
#include "botch_free.h"
@@ -13,7 +15,6 @@
#include "expr.h"
#include "code.h"
#include "storage.h"
#include "em.h"
#include "stack.h"
#include "def.h"
@@ -386,16 +387,18 @@ compound_statement(arith *nbytes;):
;
asm_statement
{ char *asm_string;
{ char *asm_bts;
int asm_len;
}
:
ASM
'('
STRING
{ asm_string = dot.tk_str;
{ asm_bts = dot.tk_bts;
asm_len = dot.tk_len;
}
')'
';'
{ asm_seen(asm_string);
{ asm_seen(asm_bts, asm_len);
}
;