summaryrefslogtreecommitdiff
path: root/src/compiler/parser.c
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-20 17:47:28 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-03-20 17:47:28 +0330
commit69310fa04d9370841c7b4f30c7278fb138b7b2e2 (patch)
tree34c153ca254ff9a3687d461a13d84aa35e358235 /src/compiler/parser.c
parent624a73ae10eb3aaa535eb41c023c59919df28c99 (diff)
added named paramters
Diffstat (limited to 'src/compiler/parser.c')
-rw-r--r--src/compiler/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/parser.c b/src/compiler/parser.c
index d816ec9..08f262c 100644
--- a/src/compiler/parser.c
+++ b/src/compiler/parser.c
@@ -912,7 +912,7 @@ ParserNode *parserNumber(LexerNode *node, ParserNode *parent) {
// fall through
default: {
bool success;
- uint64_t value = decimalToU64(node->str_begin, node->str_end, &success);
+ u64 value = decimalToU64(node->str_begin, node->str_end, &success);
if (success) {
parserNode =
newParserNode(PARSER_TOKEN_VALUE_INT, node->str_begin, node->str_end,