diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-21 10:16:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-06-21 10:16:57 -0300 |
commit | e4b02ca8e48b499c57dd3e5882d18145db60fd4c (patch) | |
tree | e04e28b662e455a74d87b05f78b2d73eb0627873 /lparser.h | |
parent | 20a9853e0279903d255846108ffe320826dddcca (diff) | |
download | lua-e4b02ca8e48b499c57dd3e5882d18145db60fd4c.tar.gz lua-e4b02ca8e48b499c57dd3e5882d18145db60fd4c.tar.bz2 lua-e4b02ca8e48b499c57dd3e5882d18145db60fd4c.zip |
Structure 'Vardesc' does not need a 'name' field
Removed the field 'name' from the structure 'Vardesc', as the name
of the local variable is already available in the prototype of the
function, through the index 'idx'.
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -81,7 +81,6 @@ typedef struct expdesc { | |||
81 | 81 | ||
82 | /* description of an active local variable */ | 82 | /* description of an active local variable */ |
83 | typedef struct Vardesc { | 83 | typedef struct Vardesc { |
84 | TString *name; | ||
85 | short idx; /* index of the variable in the Proto's 'locvars' array */ | 84 | short idx; /* index of the variable in the Proto's 'locvars' array */ |
86 | lu_byte ro; /* true if variable is 'const' */ | 85 | lu_byte ro; /* true if variable is 'const' */ |
87 | } Vardesc; | 86 | } Vardesc; |