]> ocean-lang.org Git - ocean/blobdiff - csrc/scanner.mdc
Rename string.h and number.h headers
[ocean] / csrc / scanner.mdc
index fcfadca97c7803ede6422d5bc6e06493691f58d3..b57db29c0b38fcefead7e0cc4cafb41494d1264e 100644 (file)
@@ -1670,7 +1670,7 @@ Number parsing goes in `libnumber.c`
        ## number includes
        ## number functions
 
-###### File: number.h
+###### File: parse_number.h
        int number_parse(mpq_t num, char tail[3], struct text tok);
 
 ###### File: scanner.mk
@@ -1954,7 +1954,7 @@ String parsing goes in `libstring.c`
        ## string functions
        ## string main
 
-###### File: string.h
+###### File: parse_string.h
        int string_parse(struct token *tok, char escape,
                         struct text *str, char tail[3]);
 
@@ -1983,8 +1983,8 @@ the tokens one per line.
        #include <getopt.h>
        #include "mdcode.h"
        #include "scanner.h"
-       #include "number.h"
-       #include "string.h"
+       #include "parse_number.h"
+       #include "parse_string.h"
 
        static int errs;
        static void pr_err(char *msg)