summaryrefslogtreecommitdiff
path: root/lex.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Retirar chamada da funcao lua_findsymbol associada a cadaWaldemar Celes1994-04-151-2/+5
| | | | | token NAME. A decisao de chamar lua_findsymbol ou lua_findconstant fica a cargo do modulo "lua.stx".
* "include"s de string.h e stdlib.h para evitar warningsRoberto Ierusalimschy1993-12-281-1/+6
|
* Tratamento do token $debug e $nodebugWaldemar Celes1993-12-221-8/+26
|
* analizador lexico de LUARoberto Ierusalimschy1993-12-221-0/+207