various small corrections
This commit is contained in:
parent
d3d6e637d6
commit
53255dcf48
|
@ -352,11 +352,12 @@ do_ifdef(how)
|
|||
*/
|
||||
push_if();
|
||||
if (id = GetIdentifier()) {
|
||||
if ((how && !(id && id->id_macro)) ||
|
||||
(!how && id && id->id_macro))
|
||||
{ /* this id is not defined */
|
||||
if (
|
||||
(how && !(id && id->id_macro))
|
||||
||
|
||||
(!how && id && id->id_macro)
|
||||
) /* this id is not defined */
|
||||
skip_block();
|
||||
}
|
||||
else
|
||||
SkipRestOfLine();
|
||||
}
|
||||
|
@ -390,9 +391,8 @@ do_line(l)
|
|||
{
|
||||
struct token tk;
|
||||
|
||||
LineNumber = l;
|
||||
/* is there a filespecifier? */
|
||||
if (GetToken(&tk) == STRING)
|
||||
LineNumber = l - 1; /* the number of the next input line */
|
||||
if (GetToken(&tk) == STRING) /* is there a filespecifier? */
|
||||
FileName = tk.tk_bts;
|
||||
SkipRestOfLine();
|
||||
}
|
||||
|
|
|
@ -352,7 +352,7 @@ p1_expr(lvl, expr)
|
|||
break;
|
||||
case String:
|
||||
{
|
||||
char bts2str();
|
||||
char *bts2str();
|
||||
|
||||
print(
|
||||
"%s\n",
|
||||
|
|
|
@ -210,12 +210,15 @@ unstack_world()
|
|||
|
||||
#ifdef DEBUG
|
||||
if (options['a']) {
|
||||
print("\"%s\", %s, %s, %s\n",
|
||||
char *symbol2str();
|
||||
|
||||
print("\"%s\", %s, %s, %s, %s\n",
|
||||
idf->id_text,
|
||||
(def->df_alloc == 0) ? "no alloc" :
|
||||
(def->df_alloc == ALLOC_SEEN) ? "alloc seen" :
|
||||
(def->df_alloc == ALLOC_DONE) ? "alloc done" :
|
||||
"illegal alloc info",
|
||||
symbol2str(def->df_sc),
|
||||
def->df_initialized ? "init" : "no init",
|
||||
def->df_used ? "used" : "not used");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue