nightshade

The nightshade programming language, compiler and tools (WIP)
Log | Files | Refs | README

commit ac598df694907701d3aeda4b5acfd1458aad5aaf
parent 7c0cd1ddf4fb5c815f22e6baad86e61d9b7d3424
Author: citbl <citbl@citbl.org>
Date:   Sat, 13 Jun 2026 22:08:39 +1000

minor

Diffstat:
Msrc/parser.ads | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/parser.ads b/src/parser.ads @@ -5,6 +5,9 @@ with Lexer; use Lexer; package Parser is + type Expr; + type Expr_Ref is access Expr; + type Param is record Name : Unbounded_String; Kind : Unbounded_String; @@ -13,10 +16,6 @@ package Parser is package Param_Vectors is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Param); - type Expr; - - type Expr_Ref is access Expr; - package Expr_Vectors is new Ada.Containers.Indefinite_Vectors (Index_Type => Natural, Element_Type => Expr_Ref);