projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc0c9e7
)
lib/calib_lex.l: Add #define YY_NO_INPUT to C pre-amble
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 21 Mar 2013 15:49:18 +0000
(15:49 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 21 Mar 2013 15:49:18 +0000
(15:49 +0000)
This suppresses a compiler warning about 'input' defined but not used.
lib/calib_lex.l
patch
|
blob
|
history
diff --git
a/lib/calib_lex.l
b/lib/calib_lex.l
index e3ac5085e0d1e8d8ea0669a6fc0459d1476f233d..de64ba81fb52de924c7cf1e6605cad726284bb7a 100644
(file)
--- a/
lib/calib_lex.l
+++ b/
lib/calib_lex.l
@@
-31,6
+31,8
@@
#include "libinternal.h"
#include "calib_yacc.h"
+#define YY_NO_INPUT
+
%}
%x COMMENT