X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fpreprocess.c;h=592dfbfa9fb30d6804043a5bad23b9f683adefd8;hb=fcd2962f05220e69124436a67cb9f93b46b6cf14;hp=5ca2df790d3cfa5f4253a33a303219aaa8fc4394;hpb=c38004b50bcc9378ad1981165dc8dfbb3445c0a9;p=carl9170fw.git diff --git a/config/preprocess.c b/config/preprocess.c index 5ca2df7..592dfbf 100644 --- a/config/preprocess.c +++ b/config/preprocess.c @@ -2,6 +2,7 @@ // // Copyright (C) 2018 Masahiro Yamada +#include #include #include #include @@ -9,6 +10,7 @@ #include #include "list.h" +#include "lkc.h" #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) @@ -555,8 +557,7 @@ char *expand_string(const char *in) static bool is_end_of_token(char c) { - /* Why are '.' and '/' valid characters for symbols? */ - return !(isalnum(c) || c == '_' || c == '-' || c == '.' || c == '/'); + return !(isalnum(c) || c == '_' || c == '-'); } /*