]> granicus.if.org Git - graphviz/commitdiff
gvpr compile.c: wrap some long lines
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 16:47:02 +0000 (09:47 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 13 Aug 2022 16:18:53 +0000 (09:18 -0700)
This will make an upcoming change more readable.

lib/gvpr/compile.c

index 13cdb19c5c49782051332c7c72b84f12a01eb070..ee047f1a759edfbf114b3188111ac436947ec687 100644 (file)
@@ -540,7 +540,9 @@ static int lookup(Expr_t * pgm, Agobj_t * objp, Exid_t * sym, Extype_t * v,
        Agsym_t *gsym = agattrsym(objp, sym->name);
        if (!gsym) {
            gsym = agattr(agroot(agraphof(objp)), AGTYPE(objp), sym->name, "");
-           error(ERROR_WARNING, "Using value of uninitialized %s attribute \"%s\" of \"%s\"", kindOf (objp), sym->name, nameOf(pgm, objp, state->tmp));
+           error(ERROR_WARNING,
+                 "Using value of uninitialized %s attribute \"%s\" of \"%s\"",
+                 kindOf (objp), sym->name, nameOf(pgm, objp, state->tmp));
        }
        v->string = agxget(objp, gsym);
     }
@@ -1332,7 +1334,9 @@ getval(Expr_t * pgm, Exnode_t * node, Exid_t * sym, Exref_t * ref,
                else {
                    if (!gsym) {
                        gsym = agattr(agroot(agraphof(objp)), AGTYPE(objp), name, "");
-                       error(ERROR_WARNING, "Using value of %s uninitialized attribute \"%s\" of \"%s\" in aget()", kindOf (objp), name, nameOf(pgm, objp, state->tmp));
+                       error(ERROR_WARNING,
+                             "Using value of %s uninitialized attribute \"%s\" of \"%s\" in aget()",
+                             kindOf (objp), name, nameOf(pgm, objp, state->tmp));
                    }
                    v.string = agxget(objp, gsym);
                }