diff options
-rw-r--r-- | feed/Makefile | 2 | ||||
-rwxr-xr-x | feed/sse_fm.py | 8 | ||||
-rw-r--r-- | feed/sse_lex_c.l | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/feed/Makefile b/feed/Makefile index d657b04..b23efe3 100644 --- a/feed/Makefile +++ b/feed/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-Wall-W -O3 -pipe +CFLAGS=-Wall -W -O3 -pipe #CFLAGS=-Wextra -g -O0 -pipe LIBS=-lfl diff --git a/feed/sse_fm.py b/feed/sse_fm.py index 45f6ce4..5efa2da 100755 --- a/feed/sse_fm.py +++ b/feed/sse_fm.py @@ -16,7 +16,8 @@ license_blacklist = [ "Other/Proprietary License with Source", "Other/Proprietary License", "Aladdin Free Public License (AFPL)", - "Free For Home Use" + "Free For Home Use", + "Unknown" ] license_whitelist = [ @@ -35,7 +36,10 @@ license_whitelist = [ "GNU Free Documentation License (FDL)", "W3C License", "Mozilla Public License (MPL)", - "The Apache License 2.0" + "The Apache License 2.0", + "Perl License", + "The PHP License", + "Python License" ] def process_record(meta): diff --git a/feed/sse_lex_c.l b/feed/sse_lex_c.l index 4674b73..e9c2f8e 100644 --- a/feed/sse_lex_c.l +++ b/feed/sse_lex_c.l @@ -3,6 +3,7 @@ %{ #include <stdio.h> +#include <ctype.h> static void print_with_subwords(const char *w) { const char *e; |