Skip to content

Commit

Permalink
Handle semicolons between field declarations in classes
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 18, 2024
1 parent f415a9f commit 445d331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
Bangle.js2: Bootloader now 'Hold BTN to reboot' not 'BTN1 = REBOOT'/etc
ESP32C3: don't kick connected BLE devices off if reset() is called
ESP32C3: disable warnings about "BT_BTM: BTM_GetSecurityFlags false"
Handle semicolons between field declarations in classes

2v24 : Bangle.js2: Add 'Bangle.touchRd()', 'Bangle.touchWr()'
Bangle.js2: After Bangle.showTestScreen, put Bangle.js into a hard off state (not soft off)
Expand Down
1 change: 1 addition & 0 deletions src/jsparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -1782,6 +1782,7 @@ NO_INLINE JsVar *jspeClassDefinition(bool parseNamedClass) {
jsvUnLock(value);
}
}
while (lex->tk==';') JSP_ASSERT_MATCH(';');

jsvUnLock(funcName);
}
Expand Down

0 comments on commit 445d331

Please sign in to comment.