X-Git-Url: https://ocean-lang.org/code/?p=ocean;a=blobdiff_plain;f=csrc%2Fscanner.mdc;h=b57db29c0b38fcefead7e0cc4cafb41494d1264e;hp=fcfadca97c7803ede6422d5bc6e06493691f58d3;hb=74275b2e557383a028515ca4dacdf07cb4858aa1;hpb=23eff3db9345ded5920fba114c0b411466c7cbf9 diff --git a/csrc/scanner.mdc b/csrc/scanner.mdc index fcfadca..b57db29 100644 --- a/csrc/scanner.mdc +++ b/csrc/scanner.mdc @@ -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 #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)