Permalink
Browse files

[cage] move declaration of determine_input_file_type to parser.h

  • Loading branch information...
1 parent 2466bec commit fdf1105802d439fa22b22514fb6b94bbb769bb40 Reini Urban committed Mar 6, 2014
Showing with 3 additions and 3 deletions.
  1. +1 −0 compilers/imcc/imcc.l
  2. +1 −0 compilers/imcc/imclexer.c
  3. +0 −3 compilers/imcc/main.c
  4. +1 −0 compilers/imcc/parser.h
View
@@ -1522,6 +1522,7 @@ handle_identifier(ARGMOD(imc_info_t *imcc), YYSTYPE *valp, const char *text)
/*
* Local variables:
+ * mode: c
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
@@ -5267,6 +5267,7 @@ handle_identifier(ARGMOD(imc_info_t *imcc), YYSTYPE *valp, const char *text)
/*
* Local variables:
+ * mode: c
* c-file-style: "parrot"
* End:
* vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
View
@@ -40,9 +40,6 @@ IMCC helpers.
extern int yydebug;
-/* defined in imcc.l */
-PIOHANDLE determine_input_file_type(imc_info_t * imcc, STRING *sourcefile);
-
/* HEADERIZER HFILE: include/imcc/embed.h */
/* HEADERIZER BEGIN: static */
View
@@ -44,6 +44,7 @@ extern INTVAL imcc_compile_buffer_safe(ARGMOD(imc_info_t *imcc),
yyscan_t yyscanner, ARGIN(STRING *source), int is_file, int is_pasm);
int at_eof(yyscan_t yyscanner);
+PIOHANDLE determine_input_file_type(imc_info_t * imcc, STRING *sourcefile);
#endif /* PARROT_IMCC_PARSER_H_GUARD */

0 comments on commit fdf1105

Please sign in to comment.