diff options
author | Bad Diode <bd@badd10de.dev> | 2024-06-23 10:54:21 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-06-23 10:54:21 +0200 |
commit | ec7936226a2e82b10bc1fdac132a1d26d178dbcd (patch) | |
tree | 7b0ed4cf889992bcb5def1df18b062159a9ee69b /src/main.c | |
parent | 8931a6f22b9586c62082c525ec8b6de62c7de5d5 (diff) | |
download | bdl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |