| 1 |
/* Copyright (C) 2022-2025 Artifex Software, Inc. |
| 2 |
All Rights Reserved. |
| 3 |
|
| 4 |
This software is provided AS-IS with no warranty, either express or |
| 5 |
implied. |
| 6 |
|
| 7 |
This software is distributed under license and may not be copied, |
| 8 |
modified or distributed except as expressly authorized under the terms |
| 9 |
of the license contained in the file LICENSE in this distribution. |
| 10 |
|
| 11 |
Refer to licensing information at http://www.artifex.com or contact |
| 12 |
Artifex Software, Inc., 39 Mesa Street, Suite 108A, San Francisco, |
| 13 |
CA 94129, USA, for further information. |
| 14 |
*/ |
| 15 |
|
| 16 |
#ifndef PARAM1 |
| 17 |
#define PARAMCAT(A,B) A ## B |
| 18 |
#define PARAM1(A) PARAMCAT(TOKEN_, A), |
| 19 |
#define PARAM2(A,B) PARAMCAT(TOKEN_, B), |
| 20 |
#endif |
| 21 |
|
| 22 |
/* Errors */ |
| 23 |
PARAM2("", NOT_A_KEYWORD) |
| 24 |
/* Insert new error tokens here. */ |
| 25 |
PARAM2("", TOO_LONG) |
| 26 |
PARAM2("", INVALID_KEY) |
| 27 |
/* Real tokens start here, at TOKEN_INVALID_KEY+1 */ |
| 28 |
PARAM2("\"", QUOTE) |
| 29 |
PARAM2("'", APOSTROPHE) |
| 30 |
PARAM1(B) |
| 31 |
PARAM2("B*", Bstar) |
| 32 |
PARAM1(BDC) |
| 33 |
PARAM1(BI) |
| 34 |
PARAM1(BMC) |
| 35 |
PARAM1(BT) |
| 36 |
PARAM1(BX) |
| 37 |
PARAM1(CS) |
| 38 |
PARAM1(DP) |
| 39 |
PARAM1(Do) |
| 40 |
PARAM1(EI) |
| 41 |
PARAM1(EMC) |
| 42 |
PARAM1(ET) |
| 43 |
PARAM1(EX) |
| 44 |
PARAM1(F) |
| 45 |
PARAM1(G) |
| 46 |
PARAM1(ID) |
| 47 |
PARAM1(J) |
| 48 |
PARAM1(K) |
| 49 |
PARAM1(M) |
| 50 |
PARAM1(MP) |
| 51 |
PARAM1(Q) |
| 52 |
PARAM1(R) |
| 53 |
PARAM1(RG) |
| 54 |
PARAM1(S) |
| 55 |
PARAM1(SC) |
| 56 |
PARAM1(SCN) |
| 57 |
PARAM2("T*", Tstar) |
| 58 |
PARAM1(TD) |
| 59 |
PARAM1(TJ) |
| 60 |
PARAM1(TL) |
| 61 |
PARAM1(Tc) |
| 62 |
PARAM1(Td) |
| 63 |
PARAM1(Tf) |
| 64 |
PARAM1(Tj) |
| 65 |
PARAM1(Tm) |
| 66 |
PARAM1(Tr) |
| 67 |
PARAM1(Ts) |
| 68 |
PARAM1(Tw) |
| 69 |
PARAM1(Tz) |
| 70 |
PARAM1(W) |
| 71 |
PARAM2("W*", Wstar) |
| 72 |
PARAM1(b) |
| 73 |
PARAM2("b*", bstar) |
| 74 |
PARAM1(c) |
| 75 |
PARAM1(cm) |
| 76 |
PARAM1(cs) |
| 77 |
PARAM1(d) |
| 78 |
PARAM1(d0) |
| 79 |
PARAM1(d1) |
| 80 |
PARAM2("endobj", ENDOBJ) |
| 81 |
PARAM2("endstream", ENDSTREAM) |
| 82 |
PARAM1(f) |
| 83 |
PARAM2("f*", fstar) |
| 84 |
PARAM2("false", PDF_FALSE) |
| 85 |
PARAM1(g) |
| 86 |
PARAM1(gs) |
| 87 |
PARAM1(h) |
| 88 |
PARAM1(i) |
| 89 |
PARAM1(j) |
| 90 |
PARAM1(k) |
| 91 |
PARAM1(l) |
| 92 |
PARAM1(m) |
| 93 |
PARAM1(n) |
| 94 |
PARAM1(null) |
| 95 |
PARAM2("obj", OBJ) |
| 96 |
PARAM1(q) |
| 97 |
PARAM1(r) |
| 98 |
PARAM1(re) |
| 99 |
PARAM1(rg) |
| 100 |
PARAM1(ri) |
| 101 |
PARAM1(s) |
| 102 |
PARAM1(sc) |
| 103 |
PARAM1(scn) |
| 104 |
PARAM1(sh) |
| 105 |
PARAM2("startxref", STARTXREF) |
| 106 |
PARAM2("stream", STREAM) |
| 107 |
PARAM2("trailer", TRAILER) |
| 108 |
PARAM2("true", PDF_TRUE) |
| 109 |
PARAM1(v) |
| 110 |
PARAM1(w) |
| 111 |
PARAM2("xref", XREF) |
| 112 |
PARAM1(y) |
| 113 |
|
| 114 |
#undef PARAM1 |
| 115 |
#undef PARAM2 |
| 116 |
#undef PARAMCAT |