diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-06 14:30:55 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-06 14:30:55 -0300 |
| commit | b8af9c56c95722e7a3289f02568b9e2a7495c484 (patch) | |
| tree | 463f99205e403ff0790dc7dc7a4fd7ab0676f935 /opcode.h | |
| parent | c3c0b52a1f1318c3b1131d260100ad9d999db5d5 (diff) | |
| download | lua-b8af9c56c95722e7a3289f02568b9e2a7495c484.tar.gz lua-b8af9c56c95722e7a3289f02568b9e2a7495c484.tar.bz2 lua-b8af9c56c95722e7a3289f02568b9e2a7495c484.zip | |
new form for constructors: {[exp] = exp, ...}
Diffstat (limited to 'opcode.h')
| -rw-r--r-- | opcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** TeCGraf - PUC-Rio | 2 | ** TeCGraf - PUC-Rio |
| 3 | ** $Id: opcode.h,v 3.25 1997/02/11 11:35:05 roberto Exp roberto $ | 3 | ** $Id: opcode.h,v 3.26 1997/02/20 15:51:14 roberto Exp roberto $ |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | #ifndef opcode_h | 6 | #ifndef opcode_h |
| @@ -101,8 +101,8 @@ CALLFUNC,/* n m v_n...v_1 f r_m...r_1 f(v1,...,v_n) */ | |||
| 101 | RETCODE0, | 101 | RETCODE0, |
| 102 | RETCODE,/* b - - */ | 102 | RETCODE,/* b - - */ |
| 103 | SETLINE,/* w - - LINE=w */ | 103 | SETLINE,/* w - - LINE=w */ |
| 104 | VARARGS/* b v_n...v_1 {v_1...v_n;n=n} */ | 104 | VARARGS,/* b v_n...v_1 {v_1...v_n;n=n} */ |
| 105 | 105 | STOREMAP/* n v_n k_n ...v_1 k_1 t - t[k_i]=v_i */ | |
| 106 | } OpCode; | 106 | } OpCode; |
| 107 | 107 | ||
| 108 | 108 | ||
