lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi. I'd like to modify the parser so I could concatenate strings using '+'.
I guess that I need to modify lparser.c, function subexpr. My initial attempt was to change the operand from OPR_ADD to OPR_CONCAT, but only if the operands are strings. This last part is what I couldn't figure out. Is this possible ?
 
Thanks in advance,
Ignacio