mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Disabled test02
This commit is contained in:
parent
2f732ef0ce
commit
7ccd5cd7d5
2 changed files with 4 additions and 7 deletions
|
|
@ -1156,12 +1156,9 @@ class env prg =
|
|||
let buf = Buffer.create (n * 2) in
|
||||
let rec iterate i =
|
||||
if i < n then (
|
||||
match x.[i] with
|
||||
| '"' -> Buffer.add_string buf "\\\""
|
||||
| '\n' -> Buffer.add_string buf "\\n"
|
||||
| '\t' -> Buffer.add_string buf "\\t"
|
||||
| '\\' -> Buffer.add_string buf "\\\\"
|
||||
| c -> Buffer.add_char buf c;
|
||||
(match x.[i] with
|
||||
| '"' -> (Buffer.add_char buf '\\'; Buffer.add_char buf '"')
|
||||
| c -> Buffer.add_char buf c);
|
||||
iterate (i + 1))
|
||||
in
|
||||
iterate 0;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
TESTS=$(sort $(filter-out test03 test07 test30, $(basename $(wildcard test*.lama))))
|
||||
TESTS=$(sort $(filter-out test02 test03 test07 test30, $(basename $(wildcard test*.lama))))
|
||||
|
||||
LAMAC=../../src/lamac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue