From 4241593b42bffac2f8fcb63f1e88621fe025e360 Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 4 Sep 2023 16:58:15 +0200 Subject: codegen: add interpreter tests Also simplify project structure. The executable is now produced in the root directory. Work in progress. --- scanner/scan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scanner') diff --git a/scanner/scan.go b/scanner/scan.go index 914f4bc..1cc36a7 100644 --- a/scanner/scan.go +++ b/scanner/scan.go @@ -108,7 +108,7 @@ func (sc *Scanner) IsId(r rune) bool { } func (sc *Scanner) Init() { - // Build a regular expression to match all string delimiters. + // Build a regular expression to match all string start delimiters at once. re := "(" for s, p := range sc.BlockProp { if p&CharStr == 0 { -- cgit v1.2.3