diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-28 09:02:39 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-28 09:02:39 +0200 |
commit | c7daf2d06c48de1128eae7f61ae77adb75560a43 (patch) | |
tree | b8c203bc62c9e5e81d5145f70b67da77668a886d | |
parent | b91a9fb0c0d08950aa4556c4a7e9ad0870a1cdab (diff) |
I am bad, and that is good - Ralph. Fix missing include
-rw-r--r-- | lexer/theme-lexer.l | 6 | ||||
-rw-r--r-- | lexer/theme-parser.y | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l index 3d16c127..3f1a00ab 100644 --- a/lexer/theme-lexer.l +++ b/lexer/theme-lexer.l @@ -1,4 +1,6 @@ -%option noyywrap nounput never-interactive +%option noyywrap +%option nounput +%option never-interactive %option bison-locations %{ @@ -35,7 +37,7 @@ typedef struct _ParseObject { char *filename; /** Length of string */ - size_t str_len; + ssize_t str_len; /** String */ const char *input_str; /** Position in file */ diff --git a/lexer/theme-parser.y b/lexer/theme-parser.y index f571d231..30cc987f 100644 --- a/lexer/theme-parser.y +++ b/lexer/theme-parser.y @@ -7,6 +7,7 @@ %parse-param {const char *what} %code requires { #include "theme.h" +#include "xrmoptions.h" typedef struct YYLTYPE { int first_line; |