~ubuntu-branches/ubuntu/jaunty/nas/jaunty

« back to all changes in this revision

Viewing changes to server/dia/lex.l

  • Committer: Bazaar Package Importer
  • Author(s): Steve McIntyre
  • Date: 2004-06-23 01:15:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040623011502-30uqd1dyu47iv2dp
Tags: 1.6d-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: lex.l,v 1.4 2001/04/29 22:47:48 jon Exp $ */
 
1
/* $Id: lex.l,v 1.6 2002/07/10 02:28:41 jon Exp $ */
2
2
/* $NCDId: @(#)lex.l,v 1.1 1996/04/24 17:01:06 greg Exp $ */
3
3
 
4
4
%{
5
5
#include "auservertype.h"
6
6
#include "gram.h"
7
 
#include "nasconfig.h"
 
7
#include "nasconf.h"
8
8
 
9
9
int Lineno = 1; /* current line number of the scanner */
10
10
 
14
14
number                          [0-9]+
15
15
%%
16
16
 
17
 
[Dd][Ee][Bb][Uu][Gg]                    { return DEBUG; }
 
17
[Dd][Ee][Bb][Uu][Gg]                    { return CDEBUG; }
18
18
[Vv][Ee][Rr][Bb][Oo][Ss][Ee]            { return VERBOSE; }
19
19
[Rr][Ee][Ll][Ee][Aa][Ss][Ee][Dd][Ee][Vv][Ii][Cc][Ee]   { return RELEASEDEVICE;}
20
20
[Ii][Nn][Pp][Uu][Tt][Ss][Ee][Cc][Tt][Ii][Oo][Nn] { return INPUTSECTION; }
21
21
[Oo][Uu][Tt][Pp][Uu][Tt][Ss][Ee][Cc][Tt][Ii][Oo][Nn] { return OUTPUTSECTION; }
22
 
[Ee][Nn][Dd]                    { return ENDSECTION; }
 
22
[Ee][Nn][Dd]                            { return ENDSECTION; }
 
23
[Gg][Aa][Ii][Nn]                        { return GAIN; }
23
24
[Ww][Oo][Rr][Dd][Ss][Ii][Zz][Ee]        { return WORDSIZE; }
24
25
[Ff][Rr][Aa][Gg][Ss][Ii][Zz][Ee]        { return FRAGSIZE; }
25
26
[Mm][Ii][Nn][Ff][Rr][Aa][Gg][Ss]        { return MINFRAGS; }