Roberto Ierusalimschy
|
a8cd072c76
nested "$if's", "$else", and "$if" constants (nil & 1).
|
28 lat temu |
Roberto Ierusalimschy
|
c9e3d32182
first implementation of "$if";
|
28 lat temu |
Roberto Ierusalimschy
|
cae1eff901
small "bugs" detected by Purify: cannot read "next" after 0.
|
28 lat temu |
Roberto Ierusalimschy
|
373363cb69
new name for old "mem.h" (conflicts with some compiler libraries)
|
28 lat temu |
Roberto Ierusalimschy
|
2de803c250
new header 'auxlib.h' + new function luaL_verror
|
28 lat temu |
Roberto Ierusalimschy
|
b48847c5fa
BUG: "inclinenumber" cannot use public buffer, since it could change
|
28 lat temu |
Roberto Ierusalimschy
|
1f4ee4a4d2
ANSI ctype only works for unsigned chars (or EOF)
|
29 lat temu |
Roberto Ierusalimschy
|
65459e7938
small BUG: pragma deletes 0 at end of yytext, so a syntax error just after
|
29 lat temu |
Roberto Ierusalimschy
|
a103455dda
better format for error messages.
|
29 lat temu |
Roberto Ierusalimschy
|
60242e1930
error message for syntax "1..2";
|
29 lat temu |
Roberto Ierusalimschy
|
3e94febfc1
pragmas should not be recognized inside literal strings.
|
29 lat temu |
Roberto Ierusalimschy
|
0af581f0bf
new way to handle pragmas (at the lexical level, instead of parsing).
|
29 lat temu |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 lat temu |
Roberto Ierusalimschy
|
5cddb264d4
lexical analiser may use luaI_buffer, instead of waste space with
|
29 lat temu |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 lat temu |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 lat temu |
Roberto Ierusalimschy
|
7e0be1fbde
unused "#include"
|
29 lat temu |
Roberto Ierusalimschy
|
281db390e8
no more "ugly" programs.
|
29 lat temu |
Roberto Ierusalimschy
|
66fc0f554a
using double to read numbers.
|
29 lat temu |
Roberto Ierusalimschy
|
15c17c24fa
small improvements
|
29 lat temu |
Roberto Ierusalimschy
|
d1608c597e
reserved words are stored in main string table; "marked" field is
|
29 lat temu |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 lat temu |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 lat temu |
Roberto Ierusalimschy
|
73be918285
a backslash followed by a newline allows the newline to go into
|
29 lat temu |
Roberto Ierusalimschy
|
56fb06b6f5
"lua_debug" now is exported through debug interface (luadebug.h)
|
29 lat temu |
Roberto Ierusalimschy
|
27ae8432b6
names generated by yacc (starting with "yy") are changed to start with
|
30 lat temu |
Roberto Ierusalimschy
|
f188e1000b
useless "#include math.h"
|
30 lat temu |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 lat temu |
Roberto Ierusalimschy
|
b17c76817d
new function "luaI_findconstantbyname".
|
30 lat temu |
Roberto Ierusalimschy
|
025589f772
nova forma de comentarios: de '#' ate' fim de linha (para uso de lua
|
30 lat temu |