diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-03-10 01:02:45 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2022-06-27 21:13:32 +0200 |
commit | 1ac8e11bba15551ad6473a57a585649757fefa6b (patch) | |
tree | 76e1f6524a7b290bc5b4eb53c2bbbcc6056b359c /proto/ospf/config.Y | |
parent | a2527ee53d9d8fe7a1c29b56f8450b9ef1f9c7bc (diff) |
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";
}
Diffstat (limited to 'proto/ospf/config.Y')
0 files changed, 0 insertions, 0 deletions