Roberto Ierusalimschy
|
5b9fbfa006
"dostring" now stores the prefix of its string, to improve error messages.
|
29 years ago |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 years ago |
Roberto Ierusalimschy
|
d289ac81d3
functions may have tags CMARK and MARK, too.
|
29 years ago |
Roberto Ierusalimschy
|
15791f93fe
lhf's corrections.
|
29 years ago |
Roberto Ierusalimschy
|
d763b69740
skip first line of a lua file if it starts with a '#' (to allow shell
|
29 years ago |
Roberto Ierusalimschy
|
36dd1af92d
"[^]]" must mean "not ]".
|
29 years ago |
Roberto Ierusalimschy
|
25b6dae7c0
singlematch and item_end are used by "read", in iolib.
|
29 years ago |
Roberto Ierusalimschy
|
1630c2533a
Pattern-Matching!
|
29 years ago |
Roberto Ierusalimschy
|
1d373d77de
more functions exported.
|
29 years ago |
Roberto Ierusalimschy
|
f025b0d160
"pushnil" is not needed (default return is nil).
|
29 years ago |
Roberto Ierusalimschy
|
cc02b4729b
new mod implementation (more portable).
|
29 years ago |
Roberto Ierusalimschy
|
2bb3830fc1
"memcpy" is defined in "string.h".
|
29 years ago |
Roberto Ierusalimschy
|
7a38bdd4b3
"exit" is defined in "stdlib".
|
29 years ago |
Roberto Ierusalimschy
|
7614b17e85
very small corrections
|
29 years ago |
Roberto Ierusalimschy
|
6dfdb76538
C functions don't need to "pushnil" to return nil value (this is
|
29 years ago |
Roberto Ierusalimschy
|
9a3c51cff1
new name for POSIX flag (this one turns on some posix stuff in standard
|
29 years ago |
Roberto Ierusalimschy
|
6336d2f9e1
flag for direct execution is "-e"; argument with an "=" goes to
|
29 years ago |
Roberto Ierusalimschy
|
ec6677e551
when "block" is computed, "nentity" == "block". So the change is only
|
29 years ago |
Roberto Ierusalimschy
|
20cbca699a
"lua_dofile" has a more informative return code.
|
29 years ago |
Roberto Ierusalimschy
|
3211a9648a
"lua_dofile" returns different error codes if it could not open the file
|
29 years ago |
Roberto Ierusalimschy
|
0baa915343
new option "-x" to execute a string given as argument.
|
29 years ago |
Roberto Ierusalimschy
|
5cddb264d4
lexical analiser may use luaI_buffer, instead of waste space with
|
29 years ago |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 years ago |
Roberto Ierusalimschy
|
9a1948e67d
small correction.
|
29 years ago |
Roberto Ierusalimschy
|
f9deeac632
"luaI_malloc(s)" is just a macro to "luaI_realloc(NULL, s)".
|
29 years ago |
Roberto Ierusalimschy
|
29f0021837
variables which contain string lengths must be long (if they also may
|
29 years ago |
Roberto Ierusalimschy
|
7acddb871d
memory manager for old versions of Lua. It should be in RCS since
|
29 years ago |
Roberto Ierusalimschy
|
a7ca46405d
unused "#include".
|
29 years ago |
Roberto Ierusalimschy
|
0e2297afaa
update of dependencies from "#include"s.
|
29 years ago |
Roberto Ierusalimschy
|
0a1891f6a0
new version.
|
29 years ago |