0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-14 18:37:03 +00:00
Ondrej Zajicek (work) 8216114841 Filter: Implement mixed declarations of local variables
Allow variable declarations mixed with code, also in nested blocks with
proper scoping, and with variable initializers. E.g:

function fn(int a)
{
  int b;
  int c = 10;

  if a > 20 then
  {
    b = 30;
    int d = c * 2;
    print a, b, c, d;
  }

  string s = "Hello";
}
2022-03-10 02:02:32 +01:00
..
2022-03-04 14:07:58 +01:00
2019-12-17 00:01:53 +01:00
2020-05-02 02:47:18 +02:00
2020-05-02 02:47:18 +02:00
2021-02-07 19:21:42 +01:00
2022-02-06 23:42:10 +01:00
2022-02-06 23:27:13 +01:00