Skip to content
Snippets Groups Projects
Commit 0913f24d authored by Lev Walkin's avatar Lev Walkin
Browse files

skip filenameless includes

parent fe1164b7
No related branches found
No related tags found
No related merge requests found
......@@ -84,12 +84,14 @@ int asn1c_compiled_output(arg_t *arg, const char *fmt, ...);
/* Generate #include line */
#define GEN_INCLUDE(filename) do { \
int saved_target = arg->target->target; \
if(!filename) break; \
REDIR(OT_INCLUDES); \
OUT_NOINDENT("#include <%s.h>\n", filename); \
REDIR(saved_target); \
} while(0)
#define GEN_POSTINCLUDE(filename) do { \
int saved_target = arg->target->target; \
if(!filename) break; \
REDIR(OT_POST_INCLUDE); \
OUT_NOINDENT("#include <%s.h>\n", filename); \
REDIR(saved_target); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment