aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2013-05-12 22:37:02 +0200
committerMike Pall <mike>2013-05-12 23:13:27 +0200
commit5bb1f0edac809302b299e189fb3c4006e0bc939a (patch)
tree390fd09e3d3e5ad80f38ae6f7b78cc27dd769221 /src/lj_errmsg.h
parentbb2cc1dcaff90406f431f90ef822ddd7df70200d (diff)
downloadluajit-5bb1f0edac809302b299e189fb3c4006e0bc939a.tar.gz
luajit-5bb1f0edac809302b299e189fb3c4006e0bc939a.tar.bz2
luajit-5bb1f0edac809302b299e189fb3c4006e0bc939a.zip
Refactor string.format().
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r--src/lj_errmsg.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index fd46acd4..e62dc237 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -96,9 +96,7 @@ ERRDEF(STRPATX, "pattern too complex")
96ERRDEF(STRCAPI, "invalid capture index") 96ERRDEF(STRCAPI, "invalid capture index")
97ERRDEF(STRCAPN, "too many captures") 97ERRDEF(STRCAPN, "too many captures")
98ERRDEF(STRCAPU, "unfinished capture") 98ERRDEF(STRCAPU, "unfinished capture")
99ERRDEF(STRFMTO, "invalid option " LUA_QL("%%%c") " to " LUA_QL("format")) 99ERRDEF(STRFMT, "invalid option " LUA_QS " to " LUA_QL("format"))
100ERRDEF(STRFMTR, "invalid format (repeated flags)")
101ERRDEF(STRFMTW, "invalid format (width or precision too long)")
102ERRDEF(STRGSRV, "invalid replacement value (a %s)") 100ERRDEF(STRGSRV, "invalid replacement value (a %s)")
103ERRDEF(BADMODN, "name conflict for module " LUA_QS) 101ERRDEF(BADMODN, "name conflict for module " LUA_QS)
104#if LJ_HASJIT 102#if LJ_HASJIT
@@ -117,7 +115,6 @@ ERRDEF(JITOPT, "unknown or malformed optimization flag " LUA_QS)
117/* Lexer/parser errors. */ 115/* Lexer/parser errors. */
118ERRDEF(XMODE, "attempt to load chunk with wrong mode") 116ERRDEF(XMODE, "attempt to load chunk with wrong mode")
119ERRDEF(XNEAR, "%s near " LUA_QS) 117ERRDEF(XNEAR, "%s near " LUA_QS)
120ERRDEF(XELEM, "lexical element too long")
121ERRDEF(XLINES, "chunk has too many lines") 118ERRDEF(XLINES, "chunk has too many lines")
122ERRDEF(XLEVELS, "chunk has too many syntax levels") 119ERRDEF(XLEVELS, "chunk has too many syntax levels")
123ERRDEF(XNUMBER, "malformed number") 120ERRDEF(XNUMBER, "malformed number")