This file is indexed.

/usr/include/pegtl/input_error.hh is in pegtl-dev 1.3.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright (c) 2014-2016 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/

#ifndef PEGTL_INPUT_ERROR_HH
#define PEGTL_INPUT_ERROR_HH

#include <sstream>
#include <stdexcept>
#include <cerrno>

namespace pegtl
{
   struct input_error
         : std::runtime_error
   {
      input_error( const std::string & message, const int errorno )
            : std::runtime_error( message ),
              errorno( errorno )
      { }

      int errorno;
   };

#define PEGTL_THROW_INPUT_ERROR( MESSAGE )                              \
   do {                                                                 \
      const int errorno = errno;                                        \
      std::ostringstream oss;                                           \
      oss << "pegtl: " << MESSAGE << " errno " << errorno;              \
      throw pegtl::input_error( oss.str(), errorno );                   \
   } while ( false )

} // pegtl

#endif