diff options
| author | Tyge Løvset <[email protected]> | 2022-08-13 19:02:50 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-08-13 19:02:50 +0200 |
| commit | 9bdcf2090da121f8d0954dad35db48c7aa47b17e (patch) | |
| tree | b2d10dc4d069059434174e9cdee5251cae8ff10c /examples/regex_replace.c | |
| parent | ccb63f1abbae18657708dd8ea38e0892aa0fc48a (diff) | |
| download | STC-modified-9bdcf2090da121f8d0954dad35db48c7aa47b17e.tar.gz STC-modified-9bdcf2090da121f8d0954dad35db48c7aa47b17e.zip | |
Experimental: Renamed c_autovar => c_with, c_autoscope => c_scope, c_autodefer => c_defer. May or may not be reverted before V4.0 release.
Diffstat (limited to 'examples/regex_replace.c')
| -rw-r--r-- | examples/regex_replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/regex_replace.c b/examples/regex_replace.c index ccc90dba..2ccbfc3c 100644 --- a/examples/regex_replace.c +++ b/examples/regex_replace.c @@ -34,7 +34,7 @@ int main() printf("brack: %s\n", cstr_str(&str)); /* Shows how to compile RE separately */ - c_autovar (cregex re = cregex_from(pattern, 0), cregex_drop(&re)) { + c_with (cregex re = cregex_from(pattern, 0), cregex_drop(&re)) { if (cregex_captures(&re) == 0) c_breakauto; /* European date format. */ |
