]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/parser-combinators/simple/simple.factor
core, basis, extra: Remove DOS line endings from files.
[factor.git] / extra / parser-combinators / simple / simple.factor
index f7a696ca35cd1ac269d324d7f2cefc8f2e9b494b..534bc3fb93a0aa29e09c71ec5e6d24c40c3041a5 100644 (file)
@@ -11,19 +11,19 @@ IN: parser-combinators.simple
   'digit' <!+> [ 10 digits>integer ] <@ ;
 
 : 'string' ( -- parser )
-  [ CHAR: " = ] satisfy 
+  [ CHAR: " = ] satisfy
   [ CHAR: " = not ] satisfy <*> &>
   [ CHAR: " = ] satisfy <& [ >string ] <@  ;
-  
+
 : 'bold' ( -- parser )
-  "*" token 
-  [ CHAR: * = not  ] satisfy <*> [ >string ] <@ &> 
+  "*" token
+  [ CHAR: * = not  ] satisfy <*> [ >string ] <@ &>
   "*" token <& ;
 
 : 'italic' ( -- parser )
-  "_" token 
-  [ CHAR: _ = not ] satisfy <*> [ >string ] <@ &> 
+  "_" token
+  [ CHAR: _ = not ] satisfy <*> [ >string ] <@ &>
   "_" token <& ;
 
 : comma-list ( element -- parser )
-  "," token list-of ;
\ No newline at end of file
+  "," token list-of ;