summaryrefslogtreecommitdiff
path: root/tokenizer.fun
diff options
context:
space:
mode:
authorVladimir Azarov <avm@intermediate-node.net>2025-05-18 14:17:50 +0200
committerVladimir Azarov <avm@intermediate-node.net>2025-05-18 14:17:50 +0200
commitd289f01594024a8fe64aeed56721260fab6b4e50 (patch)
tree204b160e1fb1d3325cc493db1d84b351dfb621a6 /tokenizer.fun
parent183a4420d2f2a985dd26d76e63c2cdcaafedc5ad (diff)
#else, #elif (rudimentary) support
Diffstat (limited to 'tokenizer.fun')
-rw-r--r--tokenizer.fun1
1 files changed, 1 insertions, 0 deletions
diff --git a/tokenizer.fun b/tokenizer.fun
index 4bdc047..999aabf 100644
--- a/tokenizer.fun
+++ b/tokenizer.fun
@@ -282,6 +282,7 @@ struct
case tk of
Id s => Printf out `s %
| MacroEnd macro => Printf out `"mend(" `macro `")" %
+ | NewLine => Printf out `"\\n" %
| PpcInclude (dir, arg) =>
Printf out `"#include(" `dir `", " `arg `")" %
| Num (IntConst (it, str, sfx)) =>