From 3047ed6100a56a529f26e43ada0a3fc3c3815c3e Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 8 Nov 2019 19:49:40 +0300 Subject: [texo] Full rewrite of inner representation. --- src/exporter.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/exporter.cpp') diff --git a/src/exporter.cpp b/src/exporter.cpp index 3baa99e..b9a5b3f 100644 --- a/src/exporter.cpp +++ b/src/exporter.cpp @@ -1,10 +1,15 @@ #include "exporter.hpp" -void TexoExporter::Put(const ScriptVariable &str) +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Texo Exporter + */ +bool TexoExporter::Put(const ScriptVariable &str) { + bool ok = true; const int len = str.Length(); - for (int i = 0; i < len; ++i) { - Put(str[i]); + for (int i = 0; ok && i < len; ++i) { + ok = Put(str[i]); } + return ok; } -- cgit v1.2.3