]> gitweb.factorcode.org Git - factor.git/commitdiff
Add yet another failing ebnf unit test
authorChris Double <chris@bethia.(none)>
Thu, 19 Jun 2008 23:49:08 +0000 (11:49 +1200)
committerChris Double <chris@bethia.(none)>
Thu, 19 Jun 2008 23:49:08 +0000 (11:49 +1200)
extra/peg/ebnf/ebnf-tests.factor

index ed38d37421e56c3a4a6b55f915953022181426bd..f613002fdf2abd20ae98b544b2240038bc073324 100644 (file)
@@ -442,3 +442,7 @@ foo=<foreign any-char> 'd'
 { V{ CHAR: a "d" } } [
   "ad" parser4 ast>>
 ] unit-test
+
+{ V{ "a" "\n" } } [
+  "a\n" [EBNF foo='a' '\n'  => [[ drop '\n' ]] EBNF] call ast>>
+] unit-test
\ No newline at end of file