mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
Replace uses of the old List generation code with new template versions
This commit is contained in:
parent
29836b47d0
commit
237c7e4e15
17 changed files with 57 additions and 94 deletions
|
@ -6,31 +6,24 @@
|
|||
#include "List.h"
|
||||
|
||||
class Expr;
|
||||
declare(PList,Expr);
|
||||
typedef PList(Expr) expr_list;
|
||||
typedef PList<Expr> expr_list;
|
||||
|
||||
class ID;
|
||||
declare(PList,ID);
|
||||
typedef PList(ID) id_list;
|
||||
typedef PList<ID> id_list;
|
||||
|
||||
class Val;
|
||||
declare(PList,Val);
|
||||
typedef PList(Val) val_list;
|
||||
typedef PList<Val> val_list;
|
||||
|
||||
class Stmt;
|
||||
declare(PList,Stmt);
|
||||
typedef PList(Stmt) stmt_list;
|
||||
typedef PList<Stmt> stmt_list;
|
||||
|
||||
class BroType;
|
||||
declare(PList,BroType);
|
||||
typedef PList(BroType) type_list;
|
||||
typedef PList<BroType> type_list;
|
||||
|
||||
class Attr;
|
||||
declare(PList,Attr);
|
||||
typedef PList(Attr) attr_list;
|
||||
typedef PList<Attr> attr_list;
|
||||
|
||||
class Timer;
|
||||
declare(PList,Timer);
|
||||
typedef PList(Timer) timer_list;
|
||||
typedef PList<Timer> timer_list;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue