aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-24 17:56:29 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-24 17:56:29 +0100
commitfad826dcfe095d57aa5faf6cc8a863069f65b0d6 (patch)
tree729df2493b9a56a023ac04868bb5069451e27f45 /Makefile
parent0e536bd36250419698fe884d01d5997581241d93 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
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)