Closed po1 closed 2 years ago
I'm dealing with format strings that come from a C/C++ program, and they contain long integer format placeholders.
It would be nice if that extra l was handled / ignored, instead of throwing an error.
l
> const sprintf = require('sprintf-js').sprintf; undefined > sprintf('yo: %ld', 42) Uncaught SyntaxError: [sprintf] unexpected placeholder
There's the problem right there
I'm dealing with format strings that come from a C/C++ program, and they contain long integer format placeholders.
It would be nice if that extra
l
was handled / ignored, instead of throwing an error.