From fad826dcfe095d57aa5faf6cc8a863069f65b0d6 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 24 Nov 2012 17:56:29 +0100 Subject: allow symbolic names (symbols) being specified for the scintilla (ES) command * new syntax is <[lParam,[wParam,[msg]]]>ES[msg[,wParam[,lParam]]]$[lParam string]$ * symbols are matched case-insensitive, the leading SCI_ for message symbols may be omitted * added support for more multiple string arguments (for commands in general) * fixed "C conditional: succeeds for every alpanumeric character, dot, dollar or underscore * added SCLEX_ and SCE_ constants as symbols * updated teco.ini: using symbolic names is preferred since that way code does not depend on the current Scintilla version --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 361f966..9c7123b 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,8 @@ MINIMAL_OBJS:=main.o cmdline.o undo.o expressions.o qbuffers.o \ all : sciteco -sciteco : $(MINIMAL_OBJS) symbols-scintilla.o +sciteco : $(MINIMAL_OBJS) \ + symbols-scintilla.o symbols-scilexer.o $(CXX) -o $@ $^ $(LDFLAGS) sciteco-minimal : $(MINIMAL_OBJS) @@ -67,7 +68,11 @@ sciteco-minimal : $(MINIMAL_OBJS) symbols-scintilla.cpp : $(SCI_DIR)/include/Scintilla.h \ sciteco-minimal symbols-extract.tes - ./sciteco-minimal -m symbols-extract.tes $< $@ SCI_ scintilla + ./sciteco-minimal -m symbols-extract.tes $< $@ "SCI_" scintilla + +symbols-scilexer.cpp : $(SCI_DIR)/include/SciLexer.h \ + sciteco-minimal symbols-extract.tes + ./sciteco-minimal -m symbols-extract.tes $< $@ "SCLEX_,SCE_" scilexer ifeq ($(INTERFACE),GTK) -- cgit v1.2.3