1*4523eebcSXin LI /* 2*4523eebcSXin LI * Copyright (C) 1984-2026 Mark Nudelman 3*4523eebcSXin LI * 4*4523eebcSXin LI * You may distribute under the terms of either the GNU General Public 5*4523eebcSXin LI * License or the Less License, as specified in the README file. 6*4523eebcSXin LI * 7*4523eebcSXin LI * For more information, see the README file. 8*4523eebcSXin LI */ 9*4523eebcSXin LI 10*4523eebcSXin LI /* 11*4523eebcSXin LI * Define the LM_* symbols. 12*4523eebcSXin LI * */ 13*4523eebcSXin LI #undef M 14*4523eebcSXin LI #define M(sym,msg) LM_##sym, 15*4523eebcSXin LI typedef enum lessmsg_id { 16*4523eebcSXin LI LM_NULL = 0, 17*4523eebcSXin LI #include "lessmsg.inc" 18*4523eebcSXin LI LM_HELP 19*4523eebcSXin LI } lessmsg_id; 20*4523eebcSXin LI 21*4523eebcSXin LI /* 22*4523eebcSXin LI * Use LM(sym) to get the message string for the symbol LM_sym. 23*4523eebcSXin LI */ 24*4523eebcSXin LI #define LM(sym) lmsg(LM_##sym) 25