@harmoniclabs/pebble 0.1.0-dev8 → 0.1.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.
@@ -246,6 +246,7 @@ export class Parser extends DiagnosticEmitter {
246
246
  const proposeMethods = [];
247
247
  const voteMethods = [];
248
248
  while (!tn.skip(Token.CloseBrace)) {
249
+ tn.skip(Token.Semicolon); // if any
249
250
  const thisStartPos = tn.tokenPos;
250
251
  const prevState = tn.mark();
251
252
  const nextToken = tn.next();
@@ -291,6 +292,7 @@ export class Parser extends DiagnosticEmitter {
291
292
  break;
292
293
  default: {
293
294
  tn.reset(prevState);
295
+ console.log(Token[nextToken]);
294
296
  return this.error(DiagnosticCode._0_expected, tn.range(), "contract member declaration");
295
297
  }
296
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harmoniclabs/pebble",
3
- "version": "0.1.0-dev8",
3
+ "version": "0.1.1",
4
4
  "description": "A simple, yet rock solid, functional language with an imperative bias, targeting UPLC",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",