Permalink
Browse files

Merge pull request #82 from mgee/master

Fix pretty_print for inline arrays.
  • Loading branch information...
2 parents 1858885 + 241ca75 commit 4fc51dfe055cfbcbcf591502774ec7f0653a0e83 @lefticus lefticus committed Mar 29, 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 4fc51df

Please sign in to comment.