// library used here to implement an LL recursive descent recognizer.
#include "basic-parsers.h"
-#include "token-parsers.h"
#include "format-specification.h"
#include "parse-tree.h"
+#include "token-parsers.h"
#include "user-state.h"
#include <cctype>
#include <cinttypes>
#include <type_traits>
#include <variant>
-// Avoid a deduction bug in GNU 7.1.0 headers by forcing the answer.
+// Avoid a deduction bug in GNU 7.3.0 headers by forcing the answer.
// TODO: better resolution
namespace std {
template<typename A>
strictConformance_{that.strictConformance_},
warnOnNonstandardUsage_{that.warnOnNonstandardUsage_},
warnOnDeprecatedUsage_{that.warnOnDeprecatedUsage_},
- anyErrorRecovery_{that.anyErrorRecovery_} {
- }
+ anyErrorRecovery_{that.anyErrorRecovery_} {}
ParseState(ParseState &&that)
: cooked_{that.cooked_}, p_{that.p_}, limit_{that.limit_},
column_{that.column_}, messages_{std::move(that.messages_)},
strictConformance_{that.strictConformance_},
warnOnNonstandardUsage_{that.warnOnNonstandardUsage_},
warnOnDeprecatedUsage_{that.warnOnDeprecatedUsage_},
- anyErrorRecovery_{that.anyErrorRecovery_} {
- }
+ anyErrorRecovery_{that.anyErrorRecovery_} {}
ParseState &operator=(ParseState &&that) {
swap(that);
return *this;
// Parse tree node class types do not have default constructors. They
// explicitly declare "T() {} = delete;" to make this clear. This restriction
-// avoids what would otherwise become a viral requirement to include
+// prevents the introduction of what would be a viral requirement to include
// std::monostate among most std::variant<> discriminated union members.
// Parse tree node class types do not have copy constructors or copy assignment