summaryrefslogtreecommitdiff
path: root/to.do/unicode/scan.l
diff options
context:
space:
mode:
Diffstat (limited to 'to.do/unicode/scan.l')
-rw-r--r--to.do/unicode/scan.l12
1 files changed, 1 insertions, 11 deletions
diff --git a/to.do/unicode/scan.l b/to.do/unicode/scan.l
index 6b8daac..8d372b9 100644
--- a/to.do/unicode/scan.l
+++ b/to.do/unicode/scan.l
@@ -159,7 +159,7 @@ LEXOPT [aceknopr]
[[:digit:]]+ linenum = myctoi( yytext );
\"[^"\n]*\" {
- flex_free( (void *) infilename );
+ free(infilename);
infilename = xstrdup(yytext + 1);
infilename[strlen( infilename ) - 1] = '\0';
}
@@ -685,13 +685,3 @@ char *file;
linenum = 1;
}
-
-
-/* Wrapper routines for accessing the scanner's malloc routines. */
-
-void flex_free( ptr )
-void *ptr;
- {
- if ( ptr )
- free( ptr );
- }