diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-09 12:57:43 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-09 12:57:43 -0200 |
commit | 6ac047afc46cbee935587b5734ec37d2e667a598 (patch) | |
tree | 9dd53dcde6b44b1b2593420a13cbd828261a690e /lstrlib.c | |
parent | 0e1058cfdd07a3751fce1c79b75241cf770266cf (diff) | |
download | lua-6ac047afc46cbee935587b5734ec37d2e667a598.tar.gz lua-6ac047afc46cbee935587b5734ec37d2e667a598.tar.bz2 lua-6ac047afc46cbee935587b5734ec37d2e667a598.zip |
details
Diffstat (limited to 'lstrlib.c')
-rw-r--r-- | lstrlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstrlib.c,v 1.5 1997/12/17 20:48:58 roberto Exp roberto $ | 2 | ** $Id: lstrlib.c,v 1.6 1998/01/09 14:44:55 roberto Exp $ |
3 | ** Standard library for strings and pattern-matching | 3 | ** Standard library for strings and pattern-matching |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -109,11 +109,11 @@ static void str_ascii (void) | |||
109 | #define MAX_CAPT 9 | 109 | #define MAX_CAPT 9 |
110 | 110 | ||
111 | struct Capture { | 111 | struct Capture { |
112 | int level; /* total number of captures (finished or unfinished) */ | ||
112 | struct { | 113 | struct { |
113 | char *init; | 114 | char *init; |
114 | int len; /* -1 signals unfinished capture */ | 115 | int len; /* -1 signals unfinished capture */ |
115 | } capture[MAX_CAPT]; | 116 | } capture[MAX_CAPT]; |
116 | int level; /* total number of captures (finished or unfinished) */ | ||
117 | }; | 117 | }; |
118 | 118 | ||
119 | 119 | ||