Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Root
libaacs
Commits
ca77cc7f
Commit
ca77cc7f
authored
Dec 08, 2011
by
npzacs
Committed by
Ano Nymous
Feb 18, 2012
Browse files
Do not export internal symbols from generated parser/lexer
parent
f60f46da
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
ca77cc7f
????-??-??:
- Do not export internal symbols from generated parser/lexer
- Do not distribute generated parser files
- Check for libgpg-error. Link against it when needed.
- Distribute README.txt
...
...
src/file/keydbcfg-lexer.l
View file @
ca77cc7f
...
...
@@ -20,12 +20,17 @@
#include "keydbcfg-parser.h"
#define YY_NO_UNISTD_H
/* Disable some warnings triggered by generated scanner */
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wredundant-decls"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC visibility push(hidden)
#endif
int isatty(int i) { return 0; }
static char *trim_string(const char *string);
%}
/* Options to generate reentrant lexer that's POSIX lex compatible. The
...
...
src/file/keydbcfg-parser.y
View file @
ca77cc7f
...
...
@@ -30,6 +30,7 @@
#pragma GCC diagnostic ignored "-Wredundant-decls"
#pragma GCC diagnostic ignored "-Wimplicit-function-declaration"
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC visibility push(hidden)
#endif
/* Fix some warnings trigger by -Wundef which can't be ignored */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment