eclipse-bash-editor icon indicating copy to clipboard operation
eclipse-bash-editor copied to clipboard

Bash parser shows errors for working script

Open de-jcup opened this issue 2 years ago • 0 comments

Situation

function eventNotExists(){
        if [[ "$FUNCTION_RESULT_TRUE" = ""]]; then
            exit 100
        fi
}

Outcome: image

First error:

Multiple markers at this line
- This curly brace is not closed. So function 'eventNotExists' is not valid.
- It seems this opening bracket is missing a closing one.

Second error:

This 'if' statement is not correct closed. A 'fi' is missing

Wanted

No error shall be mentioned...

Solution

Fix parser bug

de-jcup avatar Aug 08 '22 08:08 de-jcup