summaryrefslogtreecommitdiffstats
path: root/src/lex.c
diff options
context:
space:
mode:
authorroman65536 <roman65536@yahoo.com>2017-03-16 23:25:12 +0100
committerroman65536 <roman65536@yahoo.com>2017-03-16 23:25:12 +0100
commit3e91cbd69fbd9fea6caf1952c71a8033056179c3 (patch)
tree080a5498b47119405cf474806625f1e683dd4a95 /src/lex.c
parent51d960f743fd1f6a2147d573342504751e693e20 (diff)
Search for for lua trigger and c trigger included. Now the lua scripts are search in ~/.scim/lua/ or /usr/local/share/scim/lua
C triggers have to be placed in ~/.scim/module/ or /usr/local/share/scim/module
Diffstat (limited to 'src/lex.c')
-rw-r--r--src/lex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lex.c b/src/lex.c
index 200cd0a..01772d3 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -298,6 +298,7 @@ int yylex() {
* This is a very simpleminded test for plugins: does the file merely exist
* in the plugin directories. Perhaps should test for it being executable
*/
+#if 0
int plugin_exists(char *name, int len, char *path) {
FILE *fp;
static char *HomeDir;
@@ -321,6 +322,7 @@ int plugin_exists(char *name, int len, char *path) {
return 0;
}
+#endif
/*
* Given a token string starting with a symbolic column name and its valid
* length, convert column name ("A"-"Z" or "AA"-"ZZ") to a column number (0-N).