Recursive syntax validation for the "not" keyword

Recursive validation is now implemented for all keywords.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>