Fish has for some time used an ahead of time syntax validator to
detect various deficiencies on code that is to be evaluated, and
consequently refuses to execute broken code. This is used to validate
the entire file in non-interactive mode, by the . builtin, when
defining new functions, etc. I think this is a very useful feature,
but unfortunatly, it has long missed several major obvious types of
syntax errors. I have just added a few pretty obvious features to the
validation code:
* Improper use of variable expansion, like ${foo} is detected
* Command substitutions are also validated
* The complete builtin validates all code it is given
I have used the new code to detect and squash five bugs in rarely used
completions.
Patches in the darcs repo.
--
Axel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users