1 |
On 03/13/2012 08:29 PM, Walter Dnes wrote: |
2 |
> |
3 |
> I'm answering Ciaran's and Brian's posts together, because the answer |
4 |
> is the same for both... namely, we need a 2-pass processor, regardless |
5 |
> of whether it's bash/perl/python/whatever. Pass 1 checks for syntax |
6 |
> errors and retrieves "special" variables, answering Ciaran's concern. |
7 |
> Today, it's EAPI. In future, there may be others. Pass 2 does the |
8 |
> build, assuming no errors detected in pass 1. |
9 |
> |
10 |
|
11 |
Problem is, the only thing that can tell if there's a bash syntax error |
12 |
is bash itself. |