Roberto Ierusalimschy
|
a38f093f05
luaI_initTFunc initializes fileName.
|
28 years ago |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 years ago |
Roberto Ierusalimschy
|
b8af9c56c9
new form for constructors: {[exp] = exp, ...}
|
28 years ago |
Roberto Ierusalimschy
|
0b110f7922
small syntax error (yacc does not complain, but bison does).
|
28 years ago |
Roberto Ierusalimschy
|
1143bf9286
better check when converting from float to int, to avoid overflow
|
28 years ago |
Roberto Ierusalimschy
|
f00d692445
small correction to avoid "wrong" default action
|
28 years ago |
Roberto Ierusalimschy
|
a0e9bfbb48
syntax error function is in "lex.c" (it has the token)
|
29 years ago |
Roberto Ierusalimschy
|
0af581f0bf
new way to handle pragmas (at the lexical level, instead of parsing).
|
29 years ago |
Roberto Ierusalimschy
|
7b8166d7b3
a chunk may end with a return.
|
29 years ago |
Roberto Ierusalimschy
|
7614b17e85
very small corrections
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 years ago |
Roberto Ierusalimschy
|
621322a305
"PrintCode" now is defined in luac.
|
29 years ago |
Roberto Ierusalimschy
|
d6e4c29733
fixed strings (not collectable) don't need to be inserted in the constant table.
|
29 years ago |
Roberto Ierusalimschy
|
f935d3397e
check if jump is bigger than 2^16.
|
29 years ago |
Roberto Ierusalimschy
|
45cf24485d
useless #include.
|
29 years ago |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 years ago |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 years ago |
Roberto Ierusalimschy
|
5a3a1fe458
debug interface functions to manipulated local variables:
|
29 years ago |
Roberto Ierusalimschy
|
1431b52e76
improve of compiling error messages.
|
29 years ago |
Roberto Ierusalimschy
|
2998049f51
local variable stack needs only the name of the variable (TreeNode);
|
29 years ago |
Roberto Ierusalimschy
|
24ccc7c038
correction of some order dependencies in debug code.
|
29 years ago |
Roberto Ierusalimschy
|
9d9f9c48ff
local variables may appear inside blocks in main code.
|
30 years ago |
Roberto Ierusalimschy
|
15d48576ea
functions now may be declared with any "var" as a name;
|
30 years ago |
Roberto Ierusalimschy
|
39b071f7b1
new syntax for function declarations: "function a.x () ... "
|
30 years ago |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 years ago |
Roberto Ierusalimschy
|
2cffb08a5c
new style for debug information about functions: no more SETFUNCTION
|
30 years ago |
Roberto Ierusalimschy
|
68f337dfa6
Garbage collection of functions + header structure for functions
|
30 years ago |
Roberto Ierusalimschy
|
97b2fd1ba1
syntax for {...;...} is more flexible now.
|
30 years ago |
Waldemar Celes
|
8156604823
run-time stack now is controled at run time, instead of
|
30 years ago |