{
df->prc_label = ++data_label;
C_df_dlb(df->prc_label);
- C_rom_scon(df->df_idf->id_text, strlen(df->df_idf->id_text) + 1);
+ C_rom_scon(df->df_idf->id_text, (arith)(strlen(df->df_idf->id_text) + 1));
}
RomString(nd)
}
if( tp = ResultType(df->df_type) ) {
if( !options['R'] ) {
- C_lin(LineNumber);
+ C_lin((arith)LineNumber);
C_lol(df->prc_bool);
C_cal("_nfa");
C_asp(word_size);
MkDef(id, scope, kind)
register struct idf *id;
register struct scope *scope;
+ long kind;
{
/* Create a new definition structure in scope "scope", with
* id "id" and kind "kind".
define(id, scope, kind)
register struct idf *id;
register struct scope *scope;
+ long kind;
{
/* Declare an identifier in a scope, but first check if it
already has been defined.
*/
register struct def *df;
- if( df = lookup(id, scope, 0) ) {
+ if( df = lookup(id, scope, 0L) ) {
if (df->df_kind == D_INUSE) {
if( kind != D_INUSE ) {
error("\"%s\" already used in this block",
lookup(id, scope, inuse)
register struct idf *id;
struct scope *scope;
+ long inuse;
{
/* Look up a definition of an identifier in scope "scope".
Make the "def" list self-organizing.
C_df_dlb(++data_label);
C_rom_scon(FileName,(arith) strlen(FileName) + 1);
LLparse();
- C_ms_src((arith) (LineNumber - 1), FileName);
+ C_ms_src((int)LineNumber - 1, FileName);
if( fp_used ) C_ms_flt();
C_close();
#ifdef DEBUG
extern int proclevel;
+extern char *sprint();
+
static struct db_str {
unsigned sz;
char *base;
#include "node.h"
#include "scope.h"
#include "type.h"
+#include "dbsymtab.h"
int slevel = 0; /* nesting level of statements */
}
]?
{ if( !options['L'] )
C_lin((arith) dot.tk_lineno);
+#ifdef DBSYMTAB
if (options['g']) {
static int ms_lineno;
if (ms_lineno != dot.tk_lineno) {
- C_ms_std((char *) 0, N_SLINE, dot.tk_lineno);
+ C_ms_std((char *) 0, N_SLINE, (int) dot.tk_lineno);
ms_lineno = dot.tk_lineno;
}
}
+#endif /* DBSYMTAB */
}
[
SimpleStatement