Transpiled version (2574L) is out of date.
1 | svoid tok_inStringEvals(LS tok) { |
2 | bool change; |
3 | for (int i = 1; i < tok.size(); i += 2) { |
4 | S t = tok.get(i); |
5 | if (!isQuoted(t)) continue; |
6 | if (t.contains("\\*") && !t.contains("\\\\")) { // << rough |
7 | tok.set(i, transpile_inStringEval(t)); |
8 | change = true; |
9 | } |
10 | } |
11 | if (change) reTok(tok); |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027654 |
Snippet name: | tok_inStringEvals - "the answer is \*1+2*/" etc. / backslash star/asterisk |
Eternal ID of this version: | #1027654/3 |
Text MD5: | 3d39996dd75ddd2003abfdd62985baa1 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-11-13 11:58:49 |
Source code size: | 325 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 351 |
Version history: | 2 change(s) |
Referenced in: | [show references] |