File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
Ensure jshPushIOCharEvent is more stable when the FIFO is full
5
5
Bangle.js: g.findFont now attempts to use Intl:2 if there's room. Also fix memory leak
6
6
nRF52840: Add E.getVDDH() method to get VDDH voltage
7
+ Fix issue handling multi-line tempated strings pasted to REPL (2v26 regression)
7
8
8
9
2v26 : nRF5x: ensure TIMER1_IRQHandler doesn't always wake idle loop up (fix #1900)
9
10
Puck.js: On v2.1 ensure Puck.mag behaves like other variants - just returning the last reading (avoids glitches when used with Puck.magOn)
Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ static void jslLexString() {
505
505
else lex -> tk = LEX_STR ;
506
506
// unfinished strings
507
507
if (lex -> currCh != delim )
508
- lex -> tk ++ ; // +1 gets you to 'unfinished X'
508
+ lex -> tk = ( delim == '`' ) ? LEX_UNFINISHED_TEMPLATE_LITERAL : LEX_UNFINISHED_STR ;
509
509
jslGetNextCh ();
510
510
}
511
511
You can’t perform that action at this time.
0 commit comments