aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-23 10:54:21 +0200
committerBad Diode <bd@badd10de.dev>2024-06-23 10:54:21 +0200
commitec7936226a2e82b10bc1fdac132a1d26d178dbcd (patch)
tree7b0ed4cf889992bcb5def1df18b062159a9ee69b /src/main.c
parent8931a6f22b9586c62082c525ec8b6de62c7de5d5 (diff)
downloadbdl-ec7936226a2e82b10bc1fdac132a1d26d178dbcd.tar.gz
bdl-ec7936226a2e82b10bc1fdac132a1d26d178dbcd.zip
Add constrain to let parsing either type or value must be present
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 2c2cc2d..2d2e04d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -442,7 +442,7 @@ analyzer_typecheck(Analyzer *a, Node *node, Scope *scope) {
442 case NODE_NUM_INT: 442 case NODE_NUM_INT:
443 case NODE_NUM_UINT: { 443 case NODE_NUM_UINT: {
444 // TODO: Check if the terminal correspond to an integer numeric type. 444 // TODO: Check if the terminal correspond to an integer numeric type.
445 printf("DING\n"); 445 // printf("DING\n");
446 } break; 446 } break;
447 case NODE_LET: { 447 case NODE_LET: {
448 // Check the value first to avoid recursive symbol usage. 448 // Check the value first to avoid recursive symbol usage.