From 4fb816d55f47c48c34cc4478e584b1567a75863b Mon Sep 17 00:00:00 2001 From: Sergio Queiroz Date: Thu, 10 Jan 2019 10:06:33 -0300 Subject: Adapting lpeglabel-1.5 to the codebase of lpeg-1.0.0 --- lpcap.h | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'lpcap.h') diff --git a/lpcap.h b/lpcap.h index 6133df2..d762fdc 100644 --- a/lpcap.h +++ b/lpcap.h @@ -1,5 +1,5 @@ /* -** $Id: lpcap.h,v 1.3 2016/09/13 17:45:58 roberto Exp $ +** $Id: lpcap.h,v 1.2 2015/02/27 17:13:17 roberto Exp $ */ #if !defined(lpcap_h) @@ -11,21 +11,8 @@ /* kinds of captures */ typedef enum CapKind { - Cclose, /* not used in trees */ - Cposition, - Cconst, /* ktable[key] is Lua constant */ - Cbackref, /* ktable[key] is "name" of group to get capture */ - Carg, /* 'key' is arg's number */ - Csimple, /* next node is pattern */ - Ctable, /* next node is pattern */ - Cfunction, /* ktable[key] is function; next node is pattern */ - Cquery, /* ktable[key] is table; next node is pattern */ - Cstring, /* ktable[key] is string; next node is pattern */ - Cnum, /* numbered capture; 'key' is number of value to return */ - Csubst, /* substitution capture; next node is pattern */ - Cfold, /* ktable[key] is function; next node is pattern */ - Cruntime, /* not used in trees (is uses another type for tree) */ - Cgroup /* ktable[key] is group's "name" */ + Cclose, Cposition, Cconst, Cbackref, Carg, Csimple, Ctable, Cfunction, + Cquery, Cstring, Cnum, Csubst, Cfold, Cruntime, Cgroup } CapKind; -- cgit v1.2.3-55-g6feb