File: parser.ih

package info (click to toggle)
ssh-cron 1.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 820 kB
  • sloc: cpp: 1,616; makefile: 99; sh: 36; ansic: 10
file content (32 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (3)
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
// Generated by Bisonc++ V6.04.01 on Fri, 13 Nov 2020 13:03:52 +0100

    // Include this file in the sources of the class Parser.

// $insert class.h
#include "parser.h"


#include <bobcat/argconfig>
#include <bobcat/mstream>

#include "../options/options.h"
#include "../crondata/crondata.h"

// $insert lex
inline int Parser::lex()
{
    return d_scanner.lex();
}

inline void Parser::print()         
{
    print_();            // displays tokens if --print was specified
}

inline void Parser::exceptionHandler(std::exception const &exc)         
{
    throw;              // re-implement to handle exceptions thrown by actions
}

using namespace std;
using namespace FBB;