From 651461c570c089fd2a2451dfc971ac36358bb5d2 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 29 Jun 2021 23:17:44 -0400 Subject: [PATCH] Start on decode_code_point() --- assets/parser.d.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/parser.d.erb b/assets/parser.d.erb index aad0e3e..40154eb 100644 --- a/assets/parser.d.erb +++ b/assets/parser.d.erb @@ -63,6 +63,13 @@ class <%= classname %> private static string lex_token(const(ubyte)[] * input) { + uint code_point_length; + uint code_point = decode_code_point(input, &code_point_length); return null; } + + private static uint decode_code_point(const(ubyte)[] * input, uint * code_point_length) + { + return 0u; + } }