diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-16 13:50:07 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-16 13:50:07 -0400 |
| commit | 369c601a560f9c081e2bc04e4f4fe5a8b7b1a6a0 (patch) | |
| tree | aeaa5f7a1af83e25de99187f6e4c31e0609de65b /builtins/functions.c | |
| parent | 98b93bb15922974feb06103bea06ec305e17b2ce (diff) | |
Invert escaping so user symbols get prepended with "$" and builtin
symbols don't
Diffstat (limited to 'builtins/functions.c')
| -rw-r--r-- | builtins/functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtins/functions.c b/builtins/functions.c index b292f511..a1ebc6a8 100644 --- a/builtins/functions.c +++ b/builtins/functions.c @@ -153,7 +153,7 @@ public CORD builtin_last_err() return CORD_from_char_star(strerror(errno)); } -public void $test(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) +public void test(void *expr, const TypeInfo *type, CORD expected, const char *filename, int64_t start, int64_t end) { static file_t *file = NULL; if (filename && (file == NULL || strcmp(file->filename, filename) != 0)) |
