~ubuntu-branches/ubuntu/vivid/cl-csv/vivid-proposed

« back to all changes in this revision

Viewing changes to vars.lisp

  • Committer: Package Import Robot
  • Author(s): Dimitri Fontaine
  • Date: 2014-08-04 19:57:54 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140804195754-vo64b5r1daxwg8ld
Tags: 20140211-1
Quicklisp release update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(in-package :cl-csv)
 
2
(cl-interpol:enable-interpol-syntax)
 
3
 
 
4
(defvar *quote* #\" "Default quote character")
 
5
(defvar *separator* #\, "Default separator character")
 
6
 
 
7
;; we want to read basically anything by default
 
8
(defvar *read-newline* #?"\n"
 
9
        "Default newline string for reading.
 
10
         We trim extra whitespace by default *trim-outer-whitespace*")
 
11
 
 
12
;; we want to write toward excel by default
 
13
(defvar *write-newline* #?"\r\n"
 
14
        "When writing what should the newline convention be ")
 
15
 
 
16
(defvar *always-quote* nil "Default setting for always quoting")
 
17
(defvar *quote-escape* #?"${ *quote* }${ *quote* }" "Default setting for escaping quotes")
 
18
(defvar *unquoted-empty-string-is-nil* nil
 
19
  "Should unquoted empty string values, be nil or \"\".")
 
20
 
 
21
(defvar *quoted-empty-string-is-nil* nil
 
22
  "Should empty string values, be nil or \"\".
 
23
   Unquoted values are always trimmed of surrounding whitespace.
 
24
   Quoted values are never be trimmed")
 
25
 
 
26
(defvar *trim-outer-whitespace* t
 
27
  "Should white space between delimiters and data or quotes be removed
 
28
 
 
29
   These underscores (if they were spaces) are the locations in question
 
30
   'a',_b_,_' c '_,_d ")
 
31
 
 
32
(defvar *enable-signals* nil
 
33
  "Should the reading and writing process enable filtering signals")
 
34
 
 
35
(defvar *eof-char* #\null "The char we use for eof")
 
36
 
 
37
(defvar *buffer-size* 512)
 
 
b'\\ No newline at end of file'