Hello,
I want to write a script to solve problems of such pattern.
func_a () {
    x = .*alloc();
}
func_b () {
    foo(..., x, ...);
}
That is, a variable x is allocated by func_a and used by func_b in a file.
I wrote a script like this:
fn_a (...) {
...
- X = fn1(...);
...
}
...
fn_b (...) {
...
- fn2 (..., X, ...);
...
}
But an error was reported between two functions, "..." cannot be used there.
Therefore, what is the correct solution to this problem?

Thanks,
Will