macros 'LUA_QL'/'LUA_QL' deprecated

This commit is contained in:
Roberto Ierusalimschy
2014-10-17 13:28:21 -03:00
parent ea3155e380
commit f97c64d7bf
16 changed files with 67 additions and 75 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.216 2014/10/08 20:32:50 roberto Exp roberto $
** $Id: luaconf.h,v 1.217 2014/10/15 14:53:20 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -243,7 +243,8 @@
/*
@@ LUA_QL describes how error messages quote program elements.
** CHANGE it if you want a different appearance.
** Lua does not use these macros anymore; they are here for
** compatibility only.
*/
#define LUA_QL(x) "'" x "'"
#define LUA_QS LUA_QL("%s")