Style fixes.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Deukhoofd 2020-11-08 15:44:58 +01:00
parent 5fb64e12e1
commit bfb47d9b5f
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
3 changed files with 19 additions and 26 deletions

View File

@ -55,15 +55,7 @@ namespace MalachScript {
ArithmeticRightShift,
};
enum class PreOperator : uint8_t {
Negation,
Identity,
Inversion,
Increment,
Decrement,
BitwiseComplement,
Handle
};
enum class PreOperator : uint8_t { Negation, Identity, Inversion, Increment, Decrement, BitwiseComplement, Handle };
}
#endif // MALACHSCRIPT_OPERATORS_HPP

View File

@ -319,6 +319,7 @@ namespace MalachScript::Parser {
: ParsedStatementImpl(span), _literalValue(literalValue) {}
[[nodiscard]] inline const T& GetLiteralValue() const noexcept { return _literalValue; }
private:
T _literalValue;
};