comparison src/mark.c @ 27490:fb4c30606b4a v8.2.4273

patch 8.2.4273: the EBCDIC support is outdated Commit: https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 31 14:59:41 2022 +0000 patch 8.2.4273: the EBCDIC support is outdated Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
author Bram Moolenaar <Bram@vim.org>
date Mon, 31 Jan 2022 16:00:09 +0100
parents 268f6a3511df
children f70015784777
comparison
equal deleted inserted replaced
27489:9f00e1edb43c 27490:fb4c30606b4a
308 308
309 // Check for special key, can't be a mark name and might cause islower() 309 // Check for special key, can't be a mark name and might cause islower()
310 // to crash. 310 // to crash.
311 if (c < 0) 311 if (c < 0)
312 return posp; 312 return posp;
313 #ifndef EBCDIC
314 if (c > '~') // check for islower()/isupper() 313 if (c > '~') // check for islower()/isupper()
315 ; 314 ;
316 else 315 else if (c == '\'' || c == '`') // previous context mark
317 #endif
318 if (c == '\'' || c == '`') // previous context mark
319 { 316 {
320 pos_copy = curwin->w_pcmark; // need to make a copy because 317 pos_copy = curwin->w_pcmark; // need to make a copy because
321 posp = &pos_copy; // w_pcmark may be changed soon 318 posp = &pos_copy; // w_pcmark may be changed soon
322 } 319 }
323 else if (c == '"') // to pos when leaving buffer 320 else if (c == '"') // to pos when leaving buffer