chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.14
[secnet.git]
/
conffile.fl
diff --git
a/conffile.fl
b/conffile.fl
index c1b4b042d06cf7c3dcbc430a7a1c7fde4441b2a2..66caa1f04cb9d789aa3f499cc28fbf948ff52dd3 100644
(file)
--- a/
conffile.fl
+++ b/
conffile.fl
@@
-12,6
+12,14
@@
#define YY_NO_UNPUT
#define YY_NO_UNPUT
+#define YY_INPUT(buf,result,max_size) \
+do{ \
+ (result)= fread((buf),1,(max_size),yyin); \
+ if (ferror(yyin)) \
+ fatal_perror("Error reading configuration file (%s)", \
+ config_file); \
+}while(0)
+
#define MAX_INCLUDE_DEPTH 10
struct include_stack_item {
YY_BUFFER_STATE bst;
#define MAX_INCLUDE_DEPTH 10
struct include_stack_item {
YY_BUFFER_STATE bst;