From 90d664bc9e77530113c9a65bd02bae4667a2c25c Mon Sep 17 00:00:00 2001 From: Drahflow Date: Mon, 6 Jan 2014 23:13:21 +0100 Subject: streq -> eq --- examples/working-compiler/grammar-pre.test | 2 +- examples/working-loaded/httpServer.test | 4 ++-- examples/working/macro.ey | 2 +- examples/working/streq_autoloop.ey | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/working-compiler/grammar-pre.test b/examples/working-compiler/grammar-pre.test index 6c9c8ca..eaaa41c 100644 --- a/examples/working-compiler/grammar-pre.test +++ b/examples/working-compiler/grammar-pre.test @@ -1,4 +1,4 @@ -[ "(" ")" "[" "]" "-" "|" ] { _ { streq }_ "'" -102 cat deff }' each +[ "(" ")" "[" "]" "-" "|" ] { _ { eq }_ "'" -102 cat deff }' each "[" '[ dump "x" '[ dump diff --git a/examples/working-loaded/httpServer.test b/examples/working-loaded/httpServer.test index fdfce61..47ff274 100644 --- a/examples/working-loaded/httpServer.test +++ b/examples/working-loaded/httpServer.test @@ -3,10 +3,10 @@ net .alg .httpServer "+" via { ":" via :url dump [ - { :url "/" streq } { + { :url "/" eq } { "Hallo Welt!Test" "text/html" :ok - } { :url "/test" streq } { + } { :url "/test" eq } { "Test!" "text/html" :ok } diff --git a/examples/working/macro.ey b/examples/working/macro.ey index 10c7d3b..f09a7de 100644 --- a/examples/working/macro.ey +++ b/examples/working/macro.ey @@ -40,7 +40,7 @@ indent [ "\"" -102 "\"\n" ] |out each } { indent _ sym _ out - "{" streq { 0 =cont |lol } { -- } ? * + "{" eq { 0 =cont |lol } { -- } ? * "\n" out } { blk |walk each diff --git a/examples/working/streq_autoloop.ey b/examples/working/streq_autoloop.ey index d651e00..e83c672 100644 --- a/examples/working/streq_autoloop.ey +++ b/examples/working/streq_autoloop.ey @@ -1,2 +1,2 @@ -/a /a streq dump -/d [ /a /b /c /d /e /f /g /h ] streq dump +/a /a eq dump +/d [ /a /b /c /d /e /f /g /h ] eq dump -- cgit v1.2.3