diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-31 15:48:22 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-10-31 15:48:22 -0200 |
| commit | 87cf2bf711eb1a754ed8fee40b21ae74fe18d643 (patch) | |
| tree | b1610e4d40381a9aa74f7d3a89ba3c67ee19cd4d | |
| parent | fd8a8496217186a4b948b02db91a9c8838168653 (diff) | |
| download | lua-87cf2bf711eb1a754ed8fee40b21ae74fe18d643.tar.gz lua-87cf2bf711eb1a754ed8fee40b21ae74fe18d643.tar.bz2 lua-87cf2bf711eb1a754ed8fee40b21ae74fe18d643.zip | |
extra comments about what fields are optional debug information
| -rw-r--r-- | lobject.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.62 2011/09/24 21:12:01 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.63 2011/10/17 14:46:13 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -459,11 +459,11 @@ typedef struct Proto { | |||
| 459 | TValue *k; /* constants used by the function */ | 459 | TValue *k; /* constants used by the function */ |
| 460 | Instruction *code; | 460 | Instruction *code; |
| 461 | struct Proto **p; /* functions defined inside the function */ | 461 | struct Proto **p; /* functions defined inside the function */ |
| 462 | int *lineinfo; /* map from opcodes to source lines */ | 462 | int *lineinfo; /* map from opcodes to source lines (debug information) */ |
| 463 | LocVar *locvars; /* information about local variables */ | 463 | LocVar *locvars; /* information about local variables (debug information) */ |
| 464 | Upvaldesc *upvalues; /* upvalue information */ | 464 | Upvaldesc *upvalues; /* upvalue information */ |
| 465 | union Closure *cache; /* last created closure with this prototype */ | 465 | union Closure *cache; /* last created closure with this prototype */ |
| 466 | TString *source; | 466 | TString *source; /* used for debug information */ |
| 467 | int sizeupvalues; /* size of 'upvalues' */ | 467 | int sizeupvalues; /* size of 'upvalues' */ |
| 468 | int sizek; /* size of `k' */ | 468 | int sizek; /* size of `k' */ |
| 469 | int sizecode; | 469 | int sizecode; |
