Skip to content

SYNG1007 - Unterminated string

Domain: sexp
Severity: USER

A string literal was opened but never closed.

String literals in SYNG queries are delimited by double quotes. This error occurs when a string is started but the closing quote is missing.

Example

clojure
(:replace (str) "hello)

The replacement string "hello) is missing its closing double quote.

Solution

Ensure all string literals have both opening and closing double quotes:

clojure
(:replace (str) "hello")

If your string needs to contain a double quote, escape it with a backslash: \".

SYNG1008, SYNG1010

Copyright © 2022-present Semantic Works, Inc.