Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.cpp
diff options
context:
space:
mode:
1 files changed, 10 insertions, 0 deletions
-rw-r--r--src/Models/Table.cpp10
diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp
index 5f5862f..8c1f54d 100644
--- a/src/Models/Table.cpp
+++ b/src/Models/Table.cpp
@@ -75,6 +75,16 @@ void Table::readFromFile(std::ifstream& inFile) {
else
cells[cells.get_count() - 1].add(new CellDouble((double)whole / exponent));
}
+ else if (inFile.peek() == '"') {
+ String res;
+ inFile.get();
+ while (inFile.peek() != '"') {
+ if (inFile.peek() == '\\') {
+ inFile.get();
+ }
+ res += inFile.get();
+ }
+ }
}
}