MESSAGE statement not closed with a period

Project:Prolint Issue Tracker
Component:Rules
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have made this mistake a couple of times:

Code:

     MESSAGE "Please enter a valid code"
     IsValid = FALSE.

     IF NOT IsValid THEN RETURN.

These were supposed to be two statements, but I keep forgetting to add a period to the first statement. The result is: customer gets to see a message "Please enter a valid code no" and the program continues as if the validation found no problem, resulting in a logic error.

I suppose the Prolint rule would have to check for indentation.