comparison src/syntax.c @ 26877:06a137af96f8 v8.2.3967

patch 8.2.3967: error messages are spread out Commit: https://github.com/vim/vim/commit/460ae5dfca31fa627531c263184849976755cf6b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 1 14:19:49 2022 +0000 patch 8.2.3967: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 15:30:05 +0100
parents bce848ec8b1b
children d4e61d61afd9
comparison
equal deleted inserted replaced
26876:601a973ac16c 26877:06a137af96f8
4794 current_syn_inc_tag = ++running_syn_inc_tag; 4794 current_syn_inc_tag = ++running_syn_inc_tag;
4795 prev_toplvl_grp = curwin->w_s->b_syn_topgrp; 4795 prev_toplvl_grp = curwin->w_s->b_syn_topgrp;
4796 curwin->w_s->b_syn_topgrp = sgl_id; 4796 curwin->w_s->b_syn_topgrp = sgl_id;
4797 if (source ? do_source(eap->arg, FALSE, DOSO_NONE, NULL) == FAIL 4797 if (source ? do_source(eap->arg, FALSE, DOSO_NONE, NULL) == FAIL
4798 : source_runtime(eap->arg, DIP_ALL) == FAIL) 4798 : source_runtime(eap->arg, DIP_ALL) == FAIL)
4799 semsg(_(e_notopen), eap->arg); 4799 semsg(_(e_cant_open_file_str), eap->arg);
4800 curwin->w_s->b_syn_topgrp = prev_toplvl_grp; 4800 curwin->w_s->b_syn_topgrp = prev_toplvl_grp;
4801 current_syn_inc_tag = prev_syn_inc_tag; 4801 current_syn_inc_tag = prev_syn_inc_tag;
4802 } 4802 }
4803 4803
4804 /* 4804 /*