Mercurial > vim
comparison src/vim.h @ 32347:edea3992cb01 v9.0.1505
patch 9.0.1505: error when heredoc content looks like heredoc
Commit: https://github.com/vim/vim/commit/a93d9cdc74f70ca2c85781496ffae4ca738fcd88
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue May 2 16:25:47 2023 +0100
patch 9.0.1505: error when heredoc content looks like heredoc
Problem: Error when heredoc content looks like heredoc.
Solution: Handle curly expressions. (closes https://github.com/vim/vim/issues/12325)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 May 2023 17:30:05 +0200 |
parents | b2cce50602ca |
children | c9b5b21a0369 |
comparison
equal
deleted
inserted
replaced
32346:0e2ba4c8b1c1 | 32347:edea3992cb01 |
---|---|
2756 #define FLEN_FIXED 40 | 2756 #define FLEN_FIXED 40 |
2757 | 2757 |
2758 // flags for find_name_end() | 2758 // flags for find_name_end() |
2759 #define FNE_INCL_BR 1 // include [] in name | 2759 #define FNE_INCL_BR 1 // include [] in name |
2760 #define FNE_CHECK_START 2 // check name starts with valid character | 2760 #define FNE_CHECK_START 2 // check name starts with valid character |
2761 #define FNE_ALLOW_CURLY 4 // always allow curly braces name | |
2761 | 2762 |
2762 // BSD is supposed to cover FreeBSD and similar systems. | 2763 // BSD is supposed to cover FreeBSD and similar systems. |
2763 #if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \ | 2764 #if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \ |
2764 && (defined(S_ISCHR) || defined(S_IFCHR)) | 2765 && (defined(S_ISCHR) || defined(S_IFCHR)) |
2765 # define OPEN_CHR_FILES | 2766 # define OPEN_CHR_FILES |