blob: c98a253a6925bb3dfd026ff7843d0ce0905064e4 [file] [log] [blame]
Damien George04b91472014-05-03 23:27:38 +01001/*
2 * This file is part of the Micro Python project, http://micropython.org/
3 *
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2013, 2014 Damien P. George
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 */
26
Damien George51dfcb42015-01-01 20:27:54 +000027#include "py/mpconfig.h"
28
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000029// All the qstr definitions in this file are available as constants.
Damien George0c36da02014-03-08 15:24:39 +000030// That is, they are in ROM and you can reference them simply as MP_QSTR_xxxx.
Damien Georgeeb7bfcb2014-01-04 15:57:35 +000031
Damien George6942f802015-01-11 17:52:45 +000032// qstr configuration passed to makeqstrdata.py of the form QCFG(key, value)
Damien George95836f82015-01-11 22:27:30 +000033QCFG(BYTES_IN_LEN, MICROPY_QSTR_BYTES_IN_LEN)
Damien Georgec3bd9412015-07-20 11:03:13 +000034QCFG(BYTES_IN_HASH, MICROPY_QSTR_BYTES_IN_HASH)
Damien George6942f802015-01-11 17:52:45 +000035
36Q()
Damien George708c0732014-04-27 19:23:46 +010037Q(*)
Damien George035a0a22015-10-12 21:49:03 +010038Q(_)
Damien George897fe0c2014-04-15 22:03:55 +010039Q(%#o)
Jan Čapekd76c65f2016-03-10 09:22:41 +000040Q(%#x)
41Q({:#b})
Paul Sokolovskyac2f7a72015-04-04 00:09:23 +030042Q(\n)
Paul Sokolovskye8432b32015-02-15 22:34:31 +030043Q(maximum recursion depth exceeded)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +020044Q(<module>)
45Q(<lambda>)
46Q(<listcomp>)
47Q(<dictcomp>)
48Q(<setcomp>)
49Q(<genexpr>)
Damien Georgeb829b5c2014-01-25 13:51:19 +000050Q(<string>)
Paul Sokolovskyab5d0822014-01-24 00:22:00 +020051Q(<stdin>)
Paul Sokolovsky73b70272014-04-13 05:28:46 +030052Q(utf-8)
Paul Sokolovskya3e50ea2014-04-13 06:55:24 +030053
Jan Čapekd76c65f2016-03-10 09:22:41 +000054// The following qstrings not referenced from anywhere in the sources
55Q(__locals__)
56Q(BufferError)
57Q(FileExistsError)
58Q(FileNotFoundError)
59Q(FloatingPointError)
60Q(UnboundLocalError)