|
1 | 1 | /* |
2 | | - Copyright (c) 2006 - 2024 |
| 2 | + Copyright (c) 2006 - 2026 |
3 | 3 | CLST - Radboud University |
4 | 4 | ILK - Tilburg University |
5 | 5 |
|
@@ -505,15 +505,15 @@ namespace folia { |
505 | 505 | }; |
506 | 506 |
|
507 | 507 | using DocMode = Document::RUN_FLAGS; |
508 | | - DEFINE_ENUM_FLAG_OPERATORS(DocMode); |
| 508 | + DEFINE_ENUM_FLAG_OPERATORS(DocMode) |
509 | 509 |
|
510 | | - inline bool Document::permissive() const { return mode % DocMode::PERMISSIVE; }; |
511 | | - inline bool Document::checktext() const { return mode % DocMode::CHECKTEXT; }; |
512 | | - inline bool Document::fixtext() const { return mode % DocMode::FIXTEXT; }; |
513 | | - inline bool Document::strip() const { return mode % DocMode::STRIP; }; |
514 | | - inline bool Document::canonical() const { return mode % DocMode::CANONICAL; }; |
515 | | - inline bool Document::autodeclare() const { return mode % DocMode::AUTODECLARE; }; |
516 | | - inline bool Document::has_explicit() const { return mode % DocMode::EXPLICIT; }; |
| 510 | + inline bool Document::permissive() const { return mode % DocMode::PERMISSIVE; } |
| 511 | + inline bool Document::checktext() const { return mode % DocMode::CHECKTEXT; } |
| 512 | + inline bool Document::fixtext() const { return mode % DocMode::FIXTEXT; } |
| 513 | + inline bool Document::strip() const { return mode % DocMode::STRIP; } |
| 514 | + inline bool Document::canonical() const { return mode % DocMode::CANONICAL; } |
| 515 | + inline bool Document::autodeclare() const { return mode % DocMode::AUTODECLARE; } |
| 516 | + inline bool Document::has_explicit() const { return mode % DocMode::EXPLICIT; } |
517 | 517 |
|
518 | 518 | template <> inline |
519 | 519 | Text *Document::create_root( const KWargs& args ){ |
@@ -550,7 +550,7 @@ namespace folia { |
550 | 550 | std::string folia_version(); |
551 | 551 | using DocDbg = Document::DEBUG_FLAGS; |
552 | 552 | std::string toString( DocDbg mode ); |
553 | | - DEFINE_ENUM_FLAG_OPERATORS(DocDbg); |
| 553 | + DEFINE_ENUM_FLAG_OPERATORS(DocDbg) |
554 | 554 | std::ostream& operator<<( std::ostream&, const DocDbg& ); |
555 | 555 | extern TiCC::LogStream *_dbg_file; //!< the debugging stream |
556 | 556 | } // namespace folia |
|
0 commit comments