From 699e18b65b07af73ccd14b28f83572b1843c7d37 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 14 Oct 2026 03:29:04 +0000 Subject: feat(types): add native C scalar types and imported aliases Co-Authored-By: Claude Fable 5.1 --- lib/Lexer/Lexer.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Lexer') diff --git a/lib/Lexer/Lexer.cc b/lib/Lexer/Lexer.cc index d366afc..31bafe1 100644 --- a/lib/Lexer/Lexer.cc +++ b/lib/Lexer/Lexer.cc @@ -74,6 +74,11 @@ int Lexer::gettok() { if (IdentifierStr == "REAL") return tok_real_kw; if (IdentifierStr == "STRING") return tok_string_kw; if (IdentifierStr == "CHAR") return tok_char_kw; + if (IdentifierStr == "C_TYPE") return tok_c_type; + if (IdentifierStr == "C_INT") return tok_c_int; + if (IdentifierStr == "C_CHAR") return tok_c_char; + if (IdentifierStr == "C_STRING") return tok_c_string; + if (IdentifierStr == "C_DOUBLE") return tok_c_double; if (IdentifierStr == "TRUE") return tok_true; if (IdentifierStr == "FALSE") return tok_false; -- cgit v1.3.1-4-g156e