[lua] Fixups from #4066

This commit is contained in:
Andreas Dangel 2022-09-24 17:18:32 +02:00
parent dcd8ff0ac0
commit 746fcbf086
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
3 changed files with 5 additions and 3 deletions

View File

@ -14,9 +14,10 @@ This is a {{ site.pmd.release_type }} release.
### New and noteworthy
#### Luau Support
#### Lua now supports additionally Luau
This release of PMD brings support for [Luau](https://github.com/Roblox/luau), a gradually typed language derived from Lua.
This release of PMD adds support for [Luau](https://github.com/Roblox/luau), a gradually typed language derived
from Lua. This means, that the Lua language in PMD can now parse both Lua and Luau.
### Fixed Issues
* [#4116](https://github.com/pmd/pmd/pull/4116): \[core] Missing --file arg in TreeExport CLI example

View File

@ -108,6 +108,7 @@ label
;
laststat
// "continue" is a luau addition and actually not a reserved keyword
: 'return' explist? | 'break' | 'continue'
;

View File

@ -41,7 +41,7 @@ public class LuaTokenizerTest extends CpdTextComparisonTest {
}
@Test
public void testRegression() {
public void testLuauTypes() {
doTest("luauTypes");
}