elikaski / BF-it

A C-like language to Brainfuck compiler, written in Python
MIT License
121 stars 11 forks source link

[BUG] Array assignment using +=|-=|*=|/=|%= results in error #23

Closed NeeEoo closed 4 years ago

NeeEoo commented 4 years ago

The error is TypeError: __init__() missing 1 required positional argument: 'node_expression'

Code to replicate error:

int main() {
    int arr[10];
    arr[5] = 5;
    arr[5] *= 5;
}
elikaski commented 4 years ago

Good catch :)