summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/parser.y b/parser.y
index b1242251..abac6c00 100644
--- a/parser.y
+++ b/parser.y
@@ -30,7 +30,7 @@
#include <assert.h>
#include <limits.h>
#include <dirent.h>
-#include <stddef.h>
+#include <stdlib.h>
#include <wchar.h>
#include "config.h"
#include "lib.h"
@@ -515,7 +515,6 @@ strlit : '"' '"' { $$ = null_string; }
chrlit : '\'' '\'' { $$ = nil;
yyerror("empty character literal"); }
- { $$ = nil; }
| '\'' litchars '\'' { $$ = car($2);
if (cdr($2))
yyerror("multiple characters in "