@thigasdevelopment/luam 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/luam.mjs +2 -1
  2. package/package.json +1 -1
package/luam.mjs CHANGED
@@ -4512,6 +4512,7 @@ function parseReturnStatement(stream) {
4512
4512
  const position2 = stream.expect("keyword", "return").position;
4513
4513
  const stop = stream.isEof() || stream.check("punctuation", "}") || stream.current().kind === "keyword" && BLOCK_END.has(stream.current().value);
4514
4514
  const values = stop || stream.check("punctuation", ";") ? [] : parseExpressionList(stream);
4515
+ stream.match("punctuation", ";");
4515
4516
  return { kind: "return-statement", values, position: position2 };
4516
4517
  }
4517
4518
  function parseTypeAlias(stream) {
@@ -5944,7 +5945,7 @@ import { tmpdir } from "node:os";
5944
5945
  import { join as join2 } from "node:path";
5945
5946
 
5946
5947
  // src/cli/version.ts
5947
- var VERSION = true ? "0.8.0" : "0.0.0-dev";
5948
+ var VERSION = true ? "0.8.1" : "0.0.0-dev";
5948
5949
  var PROGRAM_NAME = "luam";
5949
5950
  var PROGRAM_DESCRIPTION = "luam \u2014 the Luam compiler for Multi Theft Auto resources.";
5950
5951
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thigasdevelopment/luam",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "The Luam compiler for Multi Theft Auto resources.",
5
5
  "keywords": [
6
6
  "mta",