mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-26 04:01:44 +00:00
Add debug flag to command line interpretation.
This commit is contained in:
7
extree.c
7
extree.c
@@ -18,13 +18,18 @@
|
||||
to go away. Hopefully the compiler will realize when it's dead, and
|
||||
eliminate it. */
|
||||
|
||||
static void print_tree(
|
||||
void print_tree(
|
||||
FILE *printfile,
|
||||
EX_TREE *tp,
|
||||
int depth)
|
||||
{
|
||||
SYMBOL *sym;
|
||||
|
||||
if (tp == NULL) {
|
||||
fprintf(printfile, "(null)");
|
||||
return;
|
||||
}
|
||||
|
||||
switch (tp->type) {
|
||||
case EX_LIT:
|
||||
fprintf(printfile, "%o", tp->data.lit & 0177777);
|
||||
|
||||
Reference in New Issue
Block a user