~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/regexps.C

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: regexps.C,v 1.32 2000/12/19 12:39:22 zeller Exp $ -*- C++ -*-
 
1
// $Id$ -*- C++ -*-
2
2
// Regular expressions used in DDD
3
3
 
4
4
// Copyright (C) 1997 Technische Universitaet Braunschweig, Germany.
27
27
// or send a mail to the DDD developers <ddd@gnu.org>.
28
28
 
29
29
char regexps_rcsid[] = 
30
 
    "$Id: regexps.C,v 1.32 2000/12/19 12:39:22 zeller Exp $";
31
 
 
32
 
#ifdef __GNUG__
33
 
#pragma implementation
34
 
#endif
 
30
    "$Id$";
35
31
 
36
32
#include "regexps.h"
37
33
#include "assert.h"
38
34
#include "misc.h"               // min()
39
35
#include "casts.h"
40
36
#include <string.h>
41
 
#include <iostream.h>
 
37
#include <iostream>
42
38
 
43
39
// The first DATA_LEN characters are used to choose the actual regexp.
44
40
#define DATA_LEN 2
59
55
        static int max_reported_len = 0;
60
56
        if (required_len > max_reported_len)
61
57
        {
62
 
            cerr << "Warning: LEX buffer overflow.\n";
63
 
            cerr << "Please raise the value of "
 
58
            std::cerr << "Warning: LEX buffer overflow.\n";
 
59
            std::cerr << "Please raise the value of "
64
60
                "MAX_LEX_TOKEN_SIZE in `ddd/rxscan.L'\n"
65
61
                "from " << MAX_LEX_TOKEN_SIZE << " to " 
66
62
                 << required_len << " or more and recompile.  "
249
245
const regex rxenter_file_name           (rx_matcher, (void *)"C6");
250
246
const regex rxdoubleindex               (rx_matcher, (void *)"C7");
251
247
const regex rxcont_cmd                  (rx_matcher, (void *)"C8");
 
248
const regex rxbashprompt                (rx_matcher, (void *)"C9");
 
249
const regex rxbashpos                   (rx_matcher, (void *)"D0");
 
250
const regex rxdbgpos                    (rx_matcher, (void *)"D1");
 
251
const regex rxdbgframepos               (rx_matcher, (void *)"D2");