view src/alloc.h @ 15085:1783c0b6bc2e v8.1.0553

patch 8.1.0553: it is not easy to edit a script that was sourced commit https://github.com/vim/vim/commit/07dc18ffa4e7ed202f219fe2fd3d6f58246f71f9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 30 22:48:32 2018 +0100 patch 8.1.0553: it is not easy to edit a script that was sourced Problem: It is not easy to edit a script that was sourced. Solution: Add a count to ":scriptnames", so that ":script 40" edits the script with script ID 40.
author Bram Moolenaar <Bram@vim.org>
date Fri, 30 Nov 2018 23:00:06 +0100
parents c338c91086b9
children 3a99b2e6d136
line wrap: on
line source

/* vi:set ts=8 sts=4 sw=4 noet:
 *
 * VIM - Vi IMproved	by Bram Moolenaar
 *
 * Do ":help uganda"  in Vim to read copying and usage conditions.
 * Do ":help credits" in Vim to see a list of people who contributed.
 */

/*
 * alloc.h: enumeration of alloc IDs.
 * Each entry must be on exactly one line, GetAllocId() depends on that.
 */
typedef enum {
	aid_none = 0,
	aid_qf_dirname_start,
	aid_qf_dirname_now,
	aid_qf_namebuf,
	aid_qf_module,
	aid_qf_errmsg,
	aid_qf_pattern,
	aid_tagstack_items,
	aid_tagstack_from,
	aid_tagstack_details,
	aid_last
} alloc_id_T;