Roberto Ierusalimschy
|
a103455dda
better format for error messages.
|
29 éve |
Roberto Ierusalimschy
|
60242e1930
error message for syntax "1..2";
|
29 éve |
Roberto Ierusalimschy
|
3e94febfc1
pragmas should not be recognized inside literal strings.
|
29 éve |
Roberto Ierusalimschy
|
0af581f0bf
new way to handle pragmas (at the lexical level, instead of parsing).
|
29 éve |
Roberto Ierusalimschy
|
f0cc2d5506
BUG: a program ending in a comment without EOL made lex loops forever.
|
29 éve |
Roberto Ierusalimschy
|
5cddb264d4
lexical analiser may use luaI_buffer, instead of waste space with
|
29 éve |
Roberto Ierusalimschy
|
9863223fbf
first version of vararg facility (plus new function "call").
|
29 éve |
Roberto Ierusalimschy
|
9284742a11
better control when growing arrays.
|
29 éve |
Roberto Ierusalimschy
|
7e0be1fbde
unused "#include"
|
29 éve |
Roberto Ierusalimschy
|
281db390e8
no more "ugly" programs.
|
29 éve |
Roberto Ierusalimschy
|
66fc0f554a
using double to read numbers.
|
29 éve |
Roberto Ierusalimschy
|
15c17c24fa
small improvements
|
29 éve |
Roberto Ierusalimschy
|
d1608c597e
reserved words are stored in main string table; "marked" field is
|
29 éve |
Roberto Ierusalimschy
|
0f4903a5d7
new header "lex.h".
|
29 éve |
Roberto Ierusalimschy
|
41259bff31
BIG CHANGE: new data structure for constants, strings and globals, using
|
29 éve |
Roberto Ierusalimschy
|
73be918285
a backslash followed by a newline allows the newline to go into
|
29 éve |
Roberto Ierusalimschy
|
56fb06b6f5
"lua_debug" now is exported through debug interface (luadebug.h)
|
29 éve |
Roberto Ierusalimschy
|
27ae8432b6
names generated by yacc (starting with "yy") are changed to start with
|
30 éve |
Roberto Ierusalimschy
|
f188e1000b
useless "#include math.h"
|
30 éve |
Roberto Ierusalimschy
|
9efc257d9d
new method to keep debug line information: current line is stored on the
|
30 éve |
Roberto Ierusalimschy
|
b17c76817d
new function "luaI_findconstantbyname".
|
30 éve |
Roberto Ierusalimschy
|
025589f772
nova forma de comentarios: de '#' ate' fim de linha (para uso de lua
|
30 éve |
Roberto Ierusalimschy
|
38411aa102
small correction to avoid problems with DOS/Windows
|
30 éve |
Roberto Ierusalimschy
|
367139c6d9
buffer for literals now grows dynamically, allowing big programs between [[ and ]].
|
30 éve |
Roberto Ierusalimschy
|
bcf46ee83b
new syntax for strings: [[ ... ]]. Still in tests,
|
30 éve |
Waldemar Celes
|
dc97a07e19
better names for 'y.tab.c' and 'y.tab.h' (now they are moved to 'parser.c' and 'parser.h')
|
31 éve |
Roberto Ierusalimschy
|
8cb8594a3b
better control of integer types and their limits
|
31 éve |
Roberto Ierusalimschy
|
ad0ec203f6
small simplification
|
31 éve |
Roberto Ierusalimschy
|
86b35cf4f6
unification of symbol tree and constant tree
|
31 éve |
Roberto Ierusalimschy
|
e4645c835d
small changes in 'ugly' part.
|
31 éve |