Skip to content
Snippets Groups Projects
Commit f7e67728 authored by Michael Aaron Murphy's avatar Michael Aaron Murphy
Browse files

Validate Syntax in StatementSplitter

Each statement will now be validated for correct syntax. When an
error is found, a descriptive error will be printed to standard
error and that statement will be skipped.

The two types of errors that are curretly detected are unterminated
subshells and unescaped parenthesis in the wrong place. More types
will be added to this logic in the near future, such as unterminated
braces or invalid characters in brace logic.

This is the first step towards an upcoming brace expansion rewrite
that I am planning to perform.
parent 78ea6c29
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment