From 59ea009521e09553549b6bd7f72f5c1fd0e289ae Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 25 Jun 2021 15:14:22 +0200 Subject: [PATCH] rogueviz::sag:: cleared debug --- rogueviz/sag.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rogueviz/sag.cpp b/rogueviz/sag.cpp index 886d2fc4..fb6e5356 100644 --- a/rogueviz/sag.cpp +++ b/rogueviz/sag.cpp @@ -410,27 +410,24 @@ namespace sag { string l1, l2; while(true) { int c = fgetc(f.f); - if(c == EOF) goto finish; + if(c == EOF) return; else if(c == ';') break; else if(rv_ignore(c)) ; else l1 += c; } while(true) { int c = fgetc(f.f); - if(c == EOF) goto finish; - else if(c == ';') goto finish; + if(c == EOF) return; + else if(c == ';') return; else if(rv_ignore(c)) break; else l2 += c; } - printf("%s -> %s\n", l1.c_str(), l2.c_str()); if(!id_known(l1)) { printf("label unknown: %s\n", l1.c_str()); exit(1); } hubval[getid(l1)] = atoi(l2.c_str()); } - finish: - println(hlog, "hubval = ", hubval); } void readsag(const char *fname) {