~ubuntu-branches/ubuntu/trusty/cloog/trusty

« back to all changes in this revision

Viewing changes to osl/include/osl/macros.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-10-17 15:54:24 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20131017155424-3q1gw7yhddylfkpj
Tags: 0.18.1-1
* New upstream version.
* Add a comment to build-depend on libpod-latex-perl | perl (<< 5.17.0),
  when the documentation is built. Closes: #711681.
* Use dh_autotools-dev to update config.{sub,guess}. Closes: #719957.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
# define OSL_DEBUG                 0       // 1 for debug mode, 0 otherwise.
68
68
 
69
 
# define OSL_TAG_START_SCOP        "<OpenScop>"
70
 
# define OSL_TAG_END_SCOP          "</OpenScop>"
 
69
# define OSL_URI_SCOP              "OpenScop"
71
70
 
72
71
# define OSL_PRECISION_ENV         "OSL_PRECISION"
73
72
# define OSL_PRECISION_ENV_SP      "32"
90
89
# define OSL_BACKEND_FORTRAN       1
91
90
# define OSL_UNDEFINED             -1
92
91
# define OSL_MAX_STRING            2048
 
92
# define OSL_MIN_STRING            100
93
93
# define OSL_MAX_ARRAYS            128
94
94
 
95
95
# define OSL_TYPE_GENERIC          0
104
104
 
105
105
# define OSL_FAKE_ARRAY            "fakearray"
106
106
 
 
107
# define OSL_SYMBOL_TYPE_ITERATOR       1
 
108
# define OSL_SYMBOL_TYPE_PARAMETER      2
 
109
# define OSL_SYMBOL_TYPE_ARRAY          3
 
110
# define OSL_SYMBOL_TYPE_FUNCTION       4
 
111
 
107
112
# define OSL_STRING_UNDEFINED      "UNDEFINED"
108
113
# define OSL_STRING_CONTEXT        "CONTEXT"
109
114
# define OSL_STRING_DOMAIN         "DOMAIN"
125
130
# define OSL_debug(msg)                                                    \
126
131
         do {                                                              \
127
132
           if (OSL_DEBUG)                                                  \
128
 
             fprintf(stderr,"[osl] Debug: "msg" (%s).\n", __func__);       \
 
133
             fprintf(stderr,"[osl] Debug: " msg " (%s).\n", __func__);     \
129
134
         } while (0)
130
135
 
131
136
# define OSL_info(msg)                                                     \
132
137
         do {                                                              \
133
 
           fprintf(stderr,"[osl] Info: "msg" (%s).\n", __func__);          \
 
138
           fprintf(stderr,"[osl] Info: " msg " (%s).\n", __func__);        \
134
139
         } while (0)
135
140
 
136
141
# define OSL_warning(msg)                                                  \
137
142
         do {                                                              \
138
 
           fprintf(stderr,"[osl] Warning: "msg" (%s).\n", __func__);       \
 
143
           fprintf(stderr,"[osl] Warning: " msg " (%s).\n", __func__);     \
139
144
         } while (0)
140
145
 
141
146
# define OSL_error(msg)                                                    \
142
147
         do {                                                              \
143
 
           fprintf(stderr,"[osl] Error: "msg" (%s).\n", __func__);         \
 
148
           fprintf(stderr,"[osl] Error: " msg " (%s).\n", __func__);       \
144
149
           exit(1);                                                        \
145
150
         } while (0)
146
151