diff options
author | roman65536 <roman65536@yahoo.com> | 2017-03-16 23:25:12 +0100 |
---|---|---|
committer | roman65536 <roman65536@yahoo.com> | 2017-03-16 23:25:12 +0100 |
commit | 3e91cbd69fbd9fea6caf1952c71a8033056179c3 (patch) | |
tree | 080a5498b47119405cf474806625f1e683dd4a95 /src/lex.c | |
parent | 51d960f743fd1f6a2147d573342504751e693e20 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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). |