diff options
author | Mike Pall <mike> | 2015-08-29 23:58:28 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2015-08-30 00:10:15 +0200 |
commit | 55c3b29f7b20f3801848e0ab71e9de1d22207b95 (patch) | |
tree | 133d38b282623935b050a6eb799f8bcf22cabdff /doc | |
parent | a3a6866d4c2cc096b478c8f81b73a3b818034b89 (diff) | |
download | luajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.tar.gz luajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.tar.bz2 luajit-55c3b29f7b20f3801848e0ab71e9de1d22207b95.zip |
Parse Unicode string escape \u{XX...}.
Thanks to drbo.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changes.html | 1 | ||||
-rw-r--r-- | doc/extensions.html | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/changes.html b/doc/changes.html index febb03c7..125b58b4 100644 --- a/doc/changes.html +++ b/doc/changes.html | |||
@@ -86,6 +86,7 @@ Please take a look at the commit history for more details. | |||
86 | <li>Add <tt>LJ_GC64</tt> mode: 64 bit GC object references (really: 47 bit). Interpreter-only for now.</li> | 86 | <li>Add <tt>LJ_GC64</tt> mode: 64 bit GC object references (really: 47 bit). Interpreter-only for now.</li> |
87 | <li>Add <tt>LJ_FR2</tt> mode: Two-slot frame info. Required by <tt>LJ_GC64</tt> mode.</li> | 87 | <li>Add <tt>LJ_FR2</tt> mode: Two-slot frame info. Required by <tt>LJ_GC64</tt> mode.</li> |
88 | <li>Add <tt>table.new()</tt> and <tt>table.clear()</tt>.</li> | 88 | <li>Add <tt>table.new()</tt> and <tt>table.clear()</tt>.</li> |
89 | <li>Parse Unicode escape <tt>'\u{XX...}'</tt> in string literals.</li> | ||
89 | <li>Parse binary number literals (<tt>0bxxx</tt>).</li> | 90 | <li>Parse binary number literals (<tt>0bxxx</tt>).</li> |
90 | </ul></li> | 91 | </ul></li> |
91 | <li>Improvements to the JIT compiler: | 92 | <li>Improvements to the JIT compiler: |
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 5.1, which prevents implementing features that would otherwise | |||
344 | break the Lua/C API and ABI (e.g. <tt>_ENV</tt>). | 344 | break 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> | ||
349 | LuaJIT supports some extensions from Lua 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> |
349 | LuaJIT has built-in support for interoperating with C++ exceptions. | 356 | LuaJIT has built-in support for interoperating with C++ exceptions. |