ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/config-lexer.l
(Generate patch)

Comparing hopm/trunk/src/config-lexer.l (file contents):
Revision 7927 by michael, Sat Dec 31 13:59:46 2016 UTC vs.
Revision 8564 by michael, Wed Sep 26 19:23:54 2018 UTC

# Line 1 | Line 1
1   /*
2   *  Copyright (c) 2002 Erik Fears
3 < *  Copyright (c) 2014-2017 ircd-hybrid development team
3 > *  Copyright (c) 2014-2018 ircd-hybrid development team
4   *
5   *  This program is free software; you can redistribute it and/or modify
6   *  it under the terms of the GNU General Public License as published by
# Line 35 | Line 35
35   #include "config-parser.h"  /* autogenerated header file */
36   #include "log.h"
37  
38 + /* libopm includes */
39 + #include "libopm/src/opm_types.h"
40 +
41   #undef YY_FATAL_ERROR
42   #define YY_FATAL_ERROR(msg) conf_yy_fatal_error(msg)
43  
# Line 136 | Line 139 | include   \.include{WS}(\<.*\>|\".*\")
139                    }
140                  }
141  
142 + ADDRESS_FAMILY          { return ADDRESS_FAMILY; }
143   AWAY                    { return AWAY;         }
144   BAN_UNKNOWN             { return BAN_UNKNOWN;  }
145   BLACKLIST               { return BLACKLIST;    }
# Line 151 | Line 155 | DNSBL_TO                { return DNSBL_T
155   EXEMPT                  { return EXEMPT;       }
156   FD                      { return FD;           }
157   INVITE                  { return INVITE;       }
158 + IPV4                    { return IPV4;         }
159 + IPV6                    { return IPV6;         }
160   IRC                     { return IRC;          }
161   KLINE                   { return KLINE;        }
162   KEY                     { return KEY;          }
# Line 262 | Line 268 | DREAMBOX                {
268                          }
269  
270  
271 + SSH                     {
272 +                          yylval.number = OPM_TYPE_SSH;
273 +                          return PROTOCOLTYPE;
274 +                        }
275 +
276   TRUE                     {
277                             yylval.number=1;
278                             return NUMBER;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)