summaryrefslogtreecommitdiff
path: root/lex.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* using "zio" for parsing Lua code.Roberto Ierusalimschy1997-06-161-15/+15
|
* BUG: did not handle properly pragmas $endinput/$debug inside a $if.Roberto Ierusalimschy1997-06-111-36/+44
|
* new pragma "$endinput"Roberto Ierusalimschy1997-04-141-4/+7
|
* global variables (in $if) may have '_'.Roberto Ierusalimschy1997-04-141-3/+3
|
* nested "$if's", "$else", and "$if" constants (nil & 1).Roberto Ierusalimschy1997-04-121-39/+103
|
* first implementation of "$if";Roberto Ierusalimschy1997-04-071-21/+66
| | | | new function "findstring" (useful in good places)
* small "bugs" detected by Purify: cannot read "next" after 0.Roberto Ierusalimschy1997-04-011-4/+6
|
* new name for old "mem.h" (conflicts with some compiler libraries)Roberto Ierusalimschy1997-03-311-2/+2
|
* new header 'auxlib.h' + new function luaL_verrorRoberto Ierusalimschy1997-03-181-4/+3
|
* BUG: "inclinenumber" cannot use public buffer, since it could changeRoberto Ierusalimschy1997-02-071-9/+13
| | | | | the buffer pointer (luaY_lex and read_long_string have local pointers to it).
* ANSI ctype only works for unsigned chars (or EOF)Roberto Ierusalimschy1996-11-221-8/+11
|
* small BUG: pragma deletes 0 at end of yytext, so a syntax error just afterRoberto Ierusalimschy1996-11-211-1/+2
| | | | it may have a wrong token in message.
* better format for error messages.Roberto Ierusalimschy1996-11-081-3/+4
|
* error message for syntax "1..2";Roberto Ierusalimschy1996-11-081-7/+18
| | | | syntax error function is in "lex.c" (it has the token)
* pragmas should not be recognized inside literal strings.Roberto Ierusalimschy1996-11-061-6/+6
|
* new way to handle pragmas (at the lexical level, instead of parsing).Roberto Ierusalimschy1996-09-251-25/+33
|
* BUG: a program ending in a comment without EOL made lex loops forever.Roberto Ierusalimschy1996-09-091-8/+2
|
* lexical analiser may use luaI_buffer, instead of waste space withRoberto Ierusalimschy1996-05-301-74/+69
| | | | a separate buffer.
* first version of vararg facility (plus new function "call").Roberto Ierusalimschy1996-05-281-2/+8
|
* better control when growing arrays.Roberto Ierusalimschy1996-03-211-3/+2
|
* unused "#include"Roberto Ierusalimschy1996-03-191-2/+1
|
* no more "ugly" programs.Roberto Ierusalimschy1996-03-141-23/+2
| | | | no more comments with '#'.
* using double to read numbers.Roberto Ierusalimschy1996-02-261-6/+6
|
* small improvementsRoberto Ierusalimschy1996-02-141-5/+3
|
* reserved words are stored in main string table; "marked" field isRoberto Ierusalimschy1996-02-141-19/+12
| | | | | used to indicate its type. Table initializations centralized by "tree.c".
* new header "lex.h".Roberto Ierusalimschy1996-02-131-2/+2
|
* BIG CHANGE: new data structure for constants, strings and globals, usingRoberto Ierusalimschy1996-02-121-2/+2
| | | | an array of hash tables for all them.
* a backslash followed by a newline allows the newline to go intoRoberto Ierusalimschy1996-02-091-1/+2
| | | | a string.
* "lua_debug" now is exported through debug interface (luadebug.h)Roberto Ierusalimschy1996-02-071-1/+2
|
* names generated by yacc (starting with "yy") are changed to start withRoberto Ierusalimschy1995-12-211-10/+9
| | | | "luaY_", to avoid name clashes with hosts using yacc.
* useless "#include math.h"v2.2Roberto Ierusalimschy1995-11-161-2/+1
|
* new method to keep debug line information: current line is stored on theRoberto Ierusalimschy1995-10-251-2/+6
| | | | | Lua stack, just below (new) base, with tag LUA_T_LINE. SETLINE opcodes are generated by lex.
* new function "luaI_findconstantbyname".Roberto Ierusalimschy1995-10-131-3/+3
|
* nova forma de comentarios: de '#' ate' fim de linha (para uso de luaRoberto Ierusalimschy1995-10-061-2/+3
| | | | como shell)
* small correction to avoid problems with DOS/WindowsRoberto Ierusalimschy1995-10-031-1/+2
|
* buffer for literals now grows dynamically, allowing big programs between [[ ↵Roberto Ierusalimschy1995-09-151-7/+40
| | | | and ]].
* new syntax for strings: [[ ... ]]. Still in tests,Roberto Ierusalimschy1995-07-061-2/+50
| | | | since the code does not check buffer overflow.
* better names for 'y.tab.c' and 'y.tab.h' (now they are moved to 'parser.c' ↵Waldemar Celes1994-12-271-2/+2
| | | | and 'parser.h')
* better control of integer types and their limitsRoberto Ierusalimschy1994-12-201-2/+2
|
* small simplificationRoberto Ierusalimschy1994-11-221-3/+1
|
* unification of symbol tree and constant treeRoberto Ierusalimschy1994-11-141-12/+12
|
* small changes in 'ugly' part.Roberto Ierusalimschy1994-11-131-17/+12
|
* prototype for function 'yylex'Roberto Ierusalimschy1994-11-031-38/+3
|
* split to 'ugly.h'.Waldemar Celes1994-10-181-24/+7
|
* new algorithm for reading floats.Waldemar Celes1994-10-171-14/+35
| | | | files end with EOF, instead of 0.
* Mudancas para tornar lex.c um modulo independente dos outrosWaldemar Celes1994-09-261-24/+34
| | | | modulos de Lua
* added support for ugly tokensLuiz Henrique de Figueiredo1994-09-221-18/+65
|
* escapes \' e \" em strings; correcao do escape \\Waldemar Celes1994-09-051-2/+7
|
* Implementacao da macro 'lua_strcmp'Waldemar Celes1994-08-171-4/+10
|
* implementacao de dois buffer de 'yytext' para evitar bugWaldemar Celes1994-08-051-12/+20
| | | | no look ahead do yacc