Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1023446 - tok_dropExtraCommas

JavaX fragment (include)

// extra commas - e.g. ll(1, 2,) => ll(1, 2)
svoid tok_dropExtraCommas(LS tok) {
  jreplace(tok, ",)", ")");
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): cfunsshuasjs, mqqgnosmbjvj, tvejysmllsmz

No comments. add comment

Snippet ID: #1023446
Snippet name: tok_dropExtraCommas
Eternal ID of this version: #1023446/1
Text MD5: e101d271558cffd4be69fd4fb8ab5d8c
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-22 01:19:56
Source code size: 113 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 28 / 40
Referenced in: [show references]

Formerly at http://tinybrain.de/1023446 & http://1023446.tinybrain.de