From: Emden R. Gansner Date: Sat, 13 Jun 2015 21:12:49 +0000 (-0400) Subject: Fix the token trace function to provide info for CONSTANTs as well as IDs. X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~109^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1e26c01f19a0d56dbe5aa58221f82ef5870c41d;p=graphviz Fix the token trace function to provide info for CONSTANTs as well as IDs. --- diff --git a/lib/expr/extoken.c b/lib/expr/extoken.c index b514a6d0e..8b1bdfcc6 100644 --- a/lib/expr/extoken.c +++ b/lib/expr/extoken.c @@ -86,6 +86,10 @@ trace(Expr_t* ex, int lev, char* op, int c) s = " GE "; t = ">="; break; + case CONSTANT: + s = " CONSTANT "; + t = exlval.id->name; + break; case ID: s = " ID "; t = exlval.id->name;