Fix parsing bugs and add better indentation support
This commit is contained in:
@@ -22,15 +22,12 @@ colorize() {
|
||||
}
|
||||
|
||||
# Example of error handling
|
||||
|
||||
handle_error() {
|
||||
log ERROR "An error occurred on line $1"
|
||||
}
|
||||
trap 'handle_error $LINENO' ERR
|
||||
|
||||
# Multiline string test
|
||||
read -r -d '' MULTI <<'CPP'
|
||||
|
||||
int main() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user