1
      2
      3
      4
      5
<doc  6
      7

      8
      9
     10
     11
     12
     13
<doc 14
     15

     16
<doc 17
     18

     19
     20
     21
     22
     23
     24
#ifndef F77CRASH_CURSOR_H
#define F77CRASH_CURSOR_H

#include <string>

struct Cursor
{
    long         fromLine, toLine;
    int          fromCol, toCol;
    std::string  content;
    int          tokenId;
    int          statementNumber;

    bool
    operator<(const Cursor &cursor) const;

    bool
    operator==(const Cursor &cursor) const;
};

extern Cursor    cursor;
extern Cursor    voidCursor;

#endif // F77CRASH_CURSOR_H