summaryrefslogtreecommitdiff
path: root/doc/extensions.html
diff options
context:
space:
mode:
authorMike Pall <mike>2015-08-29 23:58:28 +0200
committerMike Pall <mike>2015-08-30 00:10:15 +0200
commit55c3b29f7b20f3801848e0ab71e9de1d22207b95 (patch)
tree133d38b282623935b050a6eb799f8bcf22cabdff /doc/extensions.html
parenta3a6866d4c2cc096b478c8f81b73a3b818034b89 (diff)
downloadluajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.tar.gz
luajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.tar.bz2
luajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.zip
Parse Unicode string escape \u{XX...}.
Thanks to drbo.
Diffstat (limited to 'doc/extensions.html')
-rw-r--r--doc/extensions.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/extensions.html b/doc/extensions.html
index 84ca5ce4..e034e1dc 100644
--- a/doc/extensions.html
+++ b/doc/extensions.html
@@ -344,6 +344,13 @@ Lua&nbsp;5.1, which prevents implementing features that would otherwise
344break the Lua/C API and ABI (e.g. <tt>_ENV</tt>). 344break the Lua/C API and ABI (e.g. <tt>_ENV</tt>).
345</p> 345</p>
346 346
347<h2 id="lua53">Extensions from Lua 5.3</h2>
348<p>
349LuaJIT supports some extensions from Lua&nbsp;5.3:
350<ul>
351<li>Unicode escape <tt>'\u{XX...}'</tt> embeds the UTF-8 encoding in string literals.</li>
352</ul>
353
347<h2 id="exceptions">C++ Exception Interoperability</h2> 354<h2 id="exceptions">C++ Exception Interoperability</h2>
348<p> 355<p>
349LuaJIT has built-in support for interoperating with C++&nbsp;exceptions. 356LuaJIT has built-in support for interoperating with C++&nbsp;exceptions.