diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | builtin.cpp | 1 | ||||
-rw-r--r-- | types.h | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -25,7 +25,7 @@ $(BUILD_DIR): mkdir -p $(BUILD_DIR) $(BUILD_DIR)/%.o : %.cpp - $(CXX) -o $@ -c $< -Wall + $(CXX) -o $@ -c $< -Wall clean: rm -rf $(BUILD_DIR) diff --git a/builtin.cpp b/builtin.cpp index 1061478..5e7bc4a 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -1600,5 +1600,6 @@ BUILTIN_PROC_DEF(set_gc_resolve_threshold) { BUILTIN_PROC_DEF(display) { ARGS_EXACTLY_ONE; printf("%s", args->car->ext_repr().c_str()); + fflush(stdout); return unspec_obj; } @@ -74,6 +74,7 @@ class ReprCons {/*{{{*/ string repr; /** The constructor */ ReprCons(bool prim, EvalObj *ori = NULL); + ~ReprCons() {} /** This function is called to get the next component in a complex * EvalObj * @param prev Feed the string form of the previous component */ |