Revision 905 trunk/src/nh99/tpl2cpp-winflex.c

tpl2cpp-winflex.c (revision 905)
1
/* A lexical scanner generated by flex */
2

  
3
/* Scanner skeleton version:
4
 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $
5
 */
6

  
7
#define FLEX_SCANNER
8
#define YY_FLEX_MAJOR_VERSION 2
9
#define YY_FLEX_MINOR_VERSION 5
10

  
11
#include <stdio.h>
12

  
13

  
14
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
15
#ifdef c_plusplus
16
#ifndef __cplusplus
17
#define __cplusplus
18
#endif
19
#endif
20

  
21

  
22
#ifdef __cplusplus
23

  
24
#include <stdlib.h>
25
#include <unistd.h>
26

  
27
/* Use prototypes in function declarations. */
28
#define YY_USE_PROTOS
29

  
30
/* The "const" storage-class-modifier is valid. */
31
#define YY_USE_CONST
32

  
33
#else	/* ! __cplusplus */
34

  
35
#if __STDC__
36

  
37
#define YY_USE_PROTOS
38
#define YY_USE_CONST
39

  
40
#endif	/* __STDC__ */
41
#endif	/* ! __cplusplus */
42

  
43
#ifdef __TURBOC__
44
 #pragma warn -rch
45
 #pragma warn -use
46
#include <io.h>
47
#include <stdlib.h>
48
#define YY_USE_CONST
49
#define YY_USE_PROTOS
50
#endif
51

  
52
#ifdef YY_USE_CONST
53
#define yyconst const
54
#else
55
#define yyconst
56
#endif
57

  
58

  
59
#ifdef YY_USE_PROTOS
60
#define YY_PROTO(proto) proto
61
#else
62
#define YY_PROTO(proto) ()
63
#endif
64

  
65
/* Returned upon end-of-file. */
66
#define YY_NULL 0
67

  
68
/* Promotes a possibly negative, possibly signed char to an unsigned
69
 * integer for use as an array index.  If the signed char is negative,
70
 * we want to instead treat it as an 8-bit unsigned char, hence the
71
 * double cast.
72
 */
73
#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
74

  
75
/* Enter a start condition.  This macro really ought to take a parameter,
76
 * but we do it the disgusting crufty way forced on us by the ()-less
77
 * definition of BEGIN.
78
 */
79
#define BEGIN yy_start = 1 + 2 *
80

  
81
/* Translate the current start state into a value that can be later handed
82
 * to BEGIN to return to the state.  The YYSTATE alias is for lex
83
 * compatibility.
84
 */
85
#define YY_START ((yy_start - 1) / 2)
86
#define YYSTATE YY_START
87

  
88
/* Action number for EOF rule of a given start state. */
89
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
90

  
91
/* Special action meaning "start processing a new file". */
92
#define YY_NEW_FILE yyrestart( yyin )
93

  
94
#define YY_END_OF_BUFFER_CHAR 0
95

  
96
/* Size of default input buffer. */
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff