worldbank/ietoolkit

`iedorep`: Runs of sub do-files seem to be recognized as loops even when they don't have loops

luisesanmartin opened this issue · 0 comments

See dofile.do:


do dofile2.do

and see dofile2.do:


display("Hola")

When I run iedorep dofile.do, it returns this output:

. iedorep dofile.do
 
Processing: dofile.do
Entering dofile.do run....
Done with dofile.do!

  +----------------------------------------------------+
  | Line | Depth | Loop | Data | Seed | Sort | Subfile |
  |------+-------+------+------+------+------+---------|
  |    2 |     0 |    1 |      |      |      |     Yes |
  +----------------------------------------------------+
.

Is it correct that it shows a value of 1 for the column Loop? I understand that it means this line is starting a loop. Shouldn't it show a zero?