From 8eacd6c35325d5ce5d341ace6ba0dbef34b43b0d Mon Sep 17 00:00:00 2001
From: pommicket
Date: Thu, 11 Sep 2025 16:05:51 -0400
Subject: Clarify that load_string & load_file should take a file name
---
site/spec.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'site/spec.html')
diff --git a/site/spec.html b/site/spec.html
index 12e19e6..9f03fe0 100644
--- a/site/spec.html
+++ b/site/spec.html
@@ -417,13 +417,15 @@ time = 35 min
-
-
load(file: File) -> Configuration
+ load(filename: String, file: File) -> Configuration
Load a configuration from a file.
+ (filename
is used for reporting error locations.)
-
-
load_string(string: String) -> Configuration
+ load_string(filename: String, string: String) -> Configuration
Load a configuration from a string
(may be overloaded with load
if language supports it).
+ (filename
is used for reporting error locations.)
-
load_path(path: String) -> Configuration
--
cgit v1.2.3