Skip to content

Commit

Permalink
Add display name for color to debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Mar 17, 2018
1 parent e0321a0 commit 6e79ff7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/debugger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ inline void debug_ast(AST_Node_Ptr node, std::string ind, Env* env)
Color_Ptr expression = Cast<Color>(node);
std::cerr << ind << "Color " << expression;
std::cerr << " (" << pstate_source_position(node) << ")";
std::cerr << " [name: " << expression->disp() << "] ";
std::cerr << " [delayed: " << expression->is_delayed() << "] ";
std::cerr << " [interpolant: " << expression->is_interpolant() << "] ";
std::cerr << " [" << expression->r() << ":" << expression->g() << ":" << expression->b() << "@" << expression->a() << "]" << std::endl;
Expand Down

0 comments on commit 6e79ff7

Please sign in to comment.