diff --git a/example_tree.tft b/example_tree.tft index 3ff31e6..9134c21 100755 --- a/example_tree.tft +++ b/example_tree.tft @@ -1,15 +1,15 @@ # This is a comment # The dating in this tree is according to the Byzantine calendar but relative to Christ's birth -Adam, M # Adam is a male -b: -5509.9.06 # Birthday in format yyyy.mm.dd +Adam, M # Adam is a male +b: -5509.9.06 # Birthday in format yyyy.mm.dd Eve, F b: -5509.9.06 -s: Adam # Eve's spouse is Adam +s: Adam # Eve's spouse is Adam Cain, M # Cain's birthday is unknown -p: Adam, Eve,steve # Cain's parents are Adam and Eve +p: Adam, Eve # Cain's parents are Adam and Eve Abel, M p: - # Abel's parents are the same as the last person's (Cain) diff --git a/src/parser.cpp b/src/parser.cpp index 49a468e..b49a929 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -56,6 +56,7 @@ namespace /* internal */ endwin(); cerr << "Line " << line << ": two parents are already defined, " << extra_name << " is third\n"; + cerr.flush(); exit(1); } diff --git a/src/utils.cpp b/src/utils.cpp index f241fdf..d9b5aeb 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -15,7 +15,7 @@ static void end() /* printf("before end\n"); */ /* fflush(stdout); */ /* } */ - endwin(); + endwin(); /* printf("done\n"); */ /* fflush(stdout); */