@malloydata/malloy 0.0.61-dev230724175125 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -198,6 +198,11 @@ class MalloyToAST extends AbstractParseTreeVisitor_1.AbstractParseTreeVisitor {
198
198
  throw this.internalError(pcx, `Source expected, but ${source.elementType} found`);
199
199
  }
200
200
  makeSqlString(pcx, sqlStr) {
201
+ for (const part of pcx.sqlInterpolation()) {
202
+ if (part.CLOSE_CODE() && this.m4WarningsEnabled()) {
203
+ this.contextError(part, 'Use %{ ... } instead of %{ ... }%', 'warn');
204
+ }
205
+ }
201
206
  for (const part of (0, parse_utils_1.getStringParts)(pcx)) {
202
207
  if (part instanceof antlr4ts_1.ParserRuleContext) {
203
208
  sqlStr.push(this.visit(part));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.61-dev230724175125",
3
+ "version": "0.0.61",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",