mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
add class function and remove debug prints
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -31,7 +30,6 @@ func parseTryCatch(code UNPARSEcode, index int, codelines []UNPARSEcode) (TryCat
|
||||
totalIndex += i
|
||||
catchtrimmed := strings.TrimSpace(codelines[index+totalIndex].code)
|
||||
if !catchCompiled.MatchString(catchtrimmed) {
|
||||
fmt.Println(catchtrimmed)
|
||||
return TryCatch{}, false, ArErr{"Syntax Error", "invalid syntax", code.line, code.path, code.realcode, true}, i
|
||||
}
|
||||
catchtrimmed = catchtrimmed[6:]
|
||||
|
||||
Reference in New Issue
Block a user