Am 15.09.2019 um 21:13 schrieb Bram Moolenaar:
Andy Wokula wrote:

Am 15.09.2019 um 14:33 schrieb Bram Moolenaar:
Patch 8.1.2035
Problem:    Recognizing octal numbers is confusing.
Solution:   Introduce scriptversion 4: do not use octal and allow for single
              quote inside numbers.
Files:      runtime/doc/eval.txt, src/vim.h, src/eval.c, src/scriptfile.c,
              src/evalfunc.c, src/testdir/test_eval_stuff.vim,
              src/testdir/test_functions.vim

Single quotes could be a pitfall for scripts that attempt to skip string
literals in Vim script code.

It's not difficult to handle this syntax.

Is 0x80 the intended value or 0x08 ?

Doesn't matter, just wanted to make sure it's further away from the
BIN/OCT/HEX values.

What happens with
      :echo 1''234
Should add a test for that.

Ok ok ok ^^.

--
Andy

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/5D7FA4EF.10701%40yahoo.de.

Raspunde prin e-mail lui