Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Duncan White
C-datadec
Commits
001bc34e
Commit
001bc34e
authored
Dec 05, 1997
by
css1dw
Browse files
one more KANDR bit - the kind_of function! and one more blank line in print
parent
de185aee
Changes
1
Show whitespace changes
Inline
Side-by-side
decs.c
View file @
001bc34e
...
@@ -627,8 +627,13 @@ static void deconskind_fn( d ) decln d;
...
@@ -627,8 +627,13 @@ static void deconskind_fn( d ) decln d;
exit
(
1
);
exit
(
1
);
}
}
#ifdef KANDR
fprintf
(
outfile
,
"kind_of_%s %s_kind( this ) %s this;
\n
"
,
fprintf
(
outfile
,
"kind_of_%s %s_kind( this ) %s this;
\n
"
,
d
->
name
,
d
->
name
,
d
->
name
);
d
->
name
,
d
->
name
,
d
->
name
);
#else
fprintf
(
outfile
,
"kind_of_%s %s_kind( %s this )
\n
"
,
d
->
name
,
d
->
name
,
d
->
name
);
#endif
line
(
"{"
);
line
(
"{"
);
indent
();
indent
();
...
@@ -830,7 +835,7 @@ static void print_fns( d ) declnlist d;
...
@@ -830,7 +835,7 @@ static void print_fns( d ) declnlist d;
exit
(
1
);
exit
(
1
);
}
}
outdent
();
outdent
();
line
(
"}
\n
"
);
line
(
"}
\n
\n
"
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment