// Copyright (c) 2016-2019 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/

#ifndef TAO_PEGTL_REWIND_MODE_HPP
#define TAO_PEGTL_REWIND_MODE_HPP

#include "config.hpp"

namespace tao
{
   namespace TAO_PEGTL_NAMESPACE
   {
      enum class rewind_mode : char
      {
         active,
         required,
         dontcare,

         // Compatibility, remove with 3.0.0
         ACTIVE = active,
         REQUIRED = required,
         DONTCARE = dontcare
      };

   }  // namespace TAO_PEGTL_NAMESPACE

}  // namespace tao

#endif
