bdfhjk / VICER

4 stars 3 forks source link

Fix new preprocessor's use cases #49

Closed chaser92 closed 9 years ago

chaser92 commented 9 years ago
  1. The *(tab + 3) operand is improperly interpreted
int main(void) {
      int tab[50];
      tab[1] = 3;
      tab[2] = 4;
      return *(tab + 1) + *(tab + 3); 
}
  1. The string does not change as expected, instead a character is removed (?)
int main(void) {
      char* a;
      a = "Ala ma kota";
      a[3] = 'd';
      printf(a);
      return 0;
}
chaser92 commented 9 years ago

Dis works now?