summaryrefslogtreecommitdiff
path: root/src/helper.h
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-07-12 10:23:12 +0800
committerJSDurand <mmemmew@gmail.com>2023-07-12 10:23:12 +0800
commitc8b352cb74c6b4a4f885022e766a11f06dea71bc (patch)
tree3a65177fba32b49545f190ba4e3ab1acb76d83c5 /src/helper.h
parent9a317e56f8a6126583f7d0c431bf878d9b1fe7b1 (diff)
reformat some C functions
I do not use a tool to automatically format the codes, so sometimes the codes look ugly. This commit reformats the codes so that they look better and shorter on each line.
Diffstat (limited to 'src/helper.h')
-rw-r--r--src/helper.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/helper.h b/src/helper.h
index 8be7497..301d221 100644
--- a/src/helper.h
+++ b/src/helper.h
@@ -36,7 +36,7 @@ parser_parse
(struct parser *parser,
struct UnsignedVec *input_vec,
struct SignedVec *error_vec,
- unsigned char reset_p );
+ unsigned char reset_p);
struct UnsignedVec *
parser_parse(struct parser *parser,
@@ -72,4 +72,11 @@ struct Label read_label(unsigned char *ptr);
void print_label(struct Label label);
+// TODO: Add functions for verifying the format of the forest.
+//
+// And add functions to query the number from the terminal name, or
+// the non-terminal name.
+//
+// And add functions for queryinf information from the forest.
+
#endif