Mercurial > vim
comparison src/ex_getln.c @ 9389:32e34e574716 v7.4.1976
commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 18:17:26 2016 +0200
patch 7.4.1976
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 18:30:07 +0200 |
parents | c3805fb080a6 |
children | 69ed2c9d34a6 |
comparison
equal
deleted
inserted
replaced
9388:404ac7af0e7e | 9389:32e34e574716 |
---|---|
6003 int | 6003 int |
6004 get_list_range(char_u **str, int *num1, int *num2) | 6004 get_list_range(char_u **str, int *num1, int *num2) |
6005 { | 6005 { |
6006 int len; | 6006 int len; |
6007 int first = FALSE; | 6007 int first = FALSE; |
6008 long num; | 6008 varnumber_T num; |
6009 | 6009 |
6010 *str = skipwhite(*str); | 6010 *str = skipwhite(*str); |
6011 if (**str == '-' || vim_isdigit(**str)) /* parse "from" part of range */ | 6011 if (**str == '-' || vim_isdigit(**str)) /* parse "from" part of range */ |
6012 { | 6012 { |
6013 vim_str2nr(*str, NULL, &len, 0, &num, NULL, 0); | 6013 vim_str2nr(*str, NULL, &len, 0, &num, NULL, 0); |