0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-04-26 00:44:38 +00:00
Ondrej Zajicek (work) 1ac8e11bba 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-06-27 21:13:32 +02:00
..
2000-06-08 12:37:21 +00:00
2020-11-15 16:28:13 +01:00
2021-04-25 02:21:05 +02:00