Permalink
Browse files

Correct pretty_print for inline arrays.

  • Loading branch information...
1 parent 1858885 commit 241ca7520422dae4edd2e7893916f0bed00244c9 Markus Groß committed Feb 28, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 include/chaiscript/language/chaiscript_eval.hpp
@@ -1014,6 +1014,10 @@ namespace chaiscript
}
+ virtual std::string pretty_print() const
+ {
+ return "[" + AST_Node::pretty_print() + "]";
+ }
};
struct Inline_Map_AST_Node : public AST_Node {

0 comments on commit 241ca75

Please sign in to comment.