X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/55a31c2eec8e219a297ba7fa2f11c3f5108b0fe2..148b4c486ec273fd1cfc70e2b099d8edc25ed8f3:/sbr/icalendar.l diff --git a/sbr/icalendar.l b/sbr/icalendar.l index 365d0725..0681f3ad 100644 --- a/sbr/icalendar.l +++ b/sbr/icalendar.l @@ -10,7 +10,7 @@ %{ #include "h/mh.h" #include "h/icalendar.h" -#include "sbr/icalparse.h" +#include "icalparse.h" #include "base64.h" static char *unfold (char *, size_t *); @@ -289,7 +289,8 @@ folded-value {VALUE-CHAR}*({fold}{VALUE-CHAR}*)+ %% static char * -unfold (char *text, size_t *leng) { +unfold (char *text, size_t *leng) +{ /* It's legal to shorten text and modify leng (because we don't use yymore()). */ char *cp; @@ -321,7 +322,8 @@ unfold (char *text, size_t *leng) { * with something other than flex. */ static void -destroy_icallex(void) { +destroy_icallex(void) +{ #if defined FLEX_SCANNER && defined YY_FLEX_SUBMINOR_VERSION /* Hack: rely on fact that the the YY_FLEX_SUBMINOR_VERSION #define was added to flex (flex.skl v. 2.163) after @@ -335,12 +337,14 @@ destroy_icallex(void) { * because flex 2.5.4 doesn't. */ void -icalset_inputfile (FILE *file) { +icalset_inputfile (FILE *file) +{ yyin = file; } void -icalset_outputfile (FILE *file) { +icalset_outputfile (FILE *file) +{ yyout = file; }