/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "toml_internal.h" TomlValue toml_parse_literal_string_value(TomlParser* self) { str s = toml_parse_literal_string(self); //TODO: error handling assert(s.data != NULL); TomlValue value = TomlValue_new(TLIBTOML_STRING); value.value.s = s; return value; }