From b247d99c6950fec45199ff78f8bd16af48d5f96c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 2 Nov 2026 18:27:06 +0000 Subject: Add int literals to SQL AST --- hobgoblin/src/output/lang/sql/ast.hob | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hobgoblin/src') diff --git a/hobgoblin/src/output/lang/sql/ast.hob b/hobgoblin/src/output/lang/sql/ast.hob index 117e3ac..16e7b64 100644 --- a/hobgoblin/src/output/lang/sql/ast.hob +++ b/hobgoblin/src/output/lang/sql/ast.hob @@ -50,9 +50,14 @@ struct SqlPrimaryKeyConstraint { // == Expressions == sum SqlExpression { + variant SqlIntLiteral; variant SqlRef; } +struct SqlIntLiteral { + field value: Int64; +} + struct SqlRef { field name: SqlIdentifier; } -- cgit v1.2.3