aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-01-02 16:44:32 +0000
committergingerBill <bill@gingerbill.org>2021-01-02 16:44:32 +0000
commita6ce417a359b7743eb94ece4a44663c519ae06b7 (patch)
treea6043a81fc8fa73abfbf228e2c8d6f86cb6dcda6
parent6523aefdccf4e842b7e88dbcb3d29e8d0a6f3075 (diff)
Clean up doc.odin
-rw-r--r--core/c/frontend/tokenizer/doc.odin7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/c/frontend/tokenizer/doc.odin b/core/c/frontend/tokenizer/doc.odin
index bfac6e6fa..cccd945cf 100644
--- a/core/c/frontend/tokenizer/doc.odin
+++ b/core/c/frontend/tokenizer/doc.odin
@@ -14,9 +14,9 @@ main :: proc() {
cpp.warn, cpp.err = t.warn, t.err;
preprocessor.init_lookup_tables(cpp);
preprocessor.init_default_macros(cpp);
- cpp.include_paths = {"W:/Odin/core/c/frontend/include"};
+ cpp.include_paths = {"my/path/to/include"};
- tok := tokenizer.tokenize_file(t, match_path, 1);
+ tok := tokenizer.tokenize_file(t, "the/source/file.c", 1);
tok = preprocessor.preprocess(cpp, tok);
if tok != nil {
@@ -26,8 +26,7 @@ main :: proc() {
}
fmt.println("[Done]");
-}
-*/
+}*/
package c_frontend_tokenizer