PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Output in Public Tests
Date: Saturday, 26 Sep 2020, 17:05:14


    > Message Posted By: Unknown
    >
    > Why is the output in some public test cases have multiple of the same line
    > numbers in the same line?
    >
    > For example, "(7)$ (7)$ CMD (Depth = 0):  SIMPLE,  argv[0] = cmd,  argv[1]
    > = arg  stdout"

As is clear by looking at Hwk2/mainParsley.c or running
Hwk2/parsley, parsley prompts for every line but only
increments the command number when parse() returns a
non-NULL CMD tree.

Since it does not echo the command itself, only the
prompts and a representation of the tree appear in its
output.

--Stan-
PREV INDEX NEXT