From 8eb27d1c5ea9463fae0fca3fd8829a851d36d18a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 19 Jun 2024 20:19:16 +0200 Subject: Add a comment --- src/parser.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/parser.h b/src/parser.h index 6392c24..1b91498 100644 --- a/src/parser.h +++ b/src/parser.h @@ -10,6 +10,11 @@ #include "types.h" enum { + /* The first four AST tokens are declarations. A declaration is any token T + for which ‘T <= _AST_DECLS_END’ holds. Declarations can also be made + public by using the ‘pub’ keyword, and you can tell if a declaration is + public by if the LSB is set. */ + /* Variable declaration, lhs and rhs may be unused ‘x: lhs = rhs’ */ ASTDECL, -- cgit v1.2.3