Skip to content

Commit

Permalink
fix pretok error
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Mar 25, 2024
1 parent c72fe1d commit e9bda95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/espruinotools.js
Original file line number Diff line number Diff line change
Expand Up @@ -33712,7 +33712,7 @@ global.esmangle = require('../lib/esmangle');
}
let length = str.length;
if (length==0) { // it's shorter just to write quotes
resultCode += "";
resultCode += tokenString;
} else if (length<256)
resultCode += String.fromCharCode(LEX_RAW_STRING8, length) + str;
else if (length<65536)
Expand Down

0 comments on commit e9bda95

Please sign in to comment.