summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3e8f5c)
raw | patch | inline | side by side (parent: c3e8f5c)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 23 Feb 2014 04:41:11 +0000 (20:41 -0800) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 23 Feb 2014 04:41:11 +0000 (20:41 -0800) |
src/frontend/grammar.y | patch | blob | history | |
src/liboconfig/oconfig.c | patch | blob | history | |
src/liboconfig/parser.y | patch | blob | history |
diff --git a/src/frontend/grammar.y b/src/frontend/grammar.y
index 876f48a04a2d718864020473304e30d34ca0848a..8b2a8bf27c066d5a3cc0d12a481d01f5847d4d64 100644 (file)
--- a/src/frontend/grammar.y
+++ b/src/frontend/grammar.y
#include <stdio.h>
+int
+sdb_fe_yylex(YYSTYPE *yylval, YYLTYPE *yylloc, sdb_fe_yyscan_t yyscanner);
+
sdb_fe_yyextra_t *
sdb_fe_yyget_extra(sdb_fe_yyscan_t scanner);
index 427f957cb047e72e6cf92e5875ceadec5f2d369f..1f7093d334eb20de7420307c9225f4b6f0d8eb6a 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
#include "oconfig.h"
extern FILE *yyin;
+int yyparse (void);
oconfig_item_t *ci_root;
const char *c_file;
index 19f58b2b75c4f19b9b196f5d15b85f8f78dd21ac..469509d594d4bb1f80d611a0bed6ea7a7e66fce0 100644 (file)
--- a/src/liboconfig/parser.y
+++ b/src/liboconfig/parser.y
extern int yylineno;
extern char *yytext;
+/* Lexer functions */
+int yylex (void);
+
extern oconfig_item_t *ci_root;
extern char *c_file;
%}