Fixed keyword bug

Keyword defined are only allowed after # oder if, else, elif. else may
be followed by if