aboutsummaryrefslogtreecommitdiff
path: root/py/lexer.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-25 23:29:19 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-27 16:12:17 +0200
commit8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b (patch)
tree1b0609e517add9bf37c10e47d13fc556657cbb9c /py/lexer.h
parent343266ea519927a7f1bc0a27f9c8af768d1125f7 (diff)
py: Move to guarded includes for compile.h and related headers.
Diffstat (limited to 'py/lexer.h')
-rw-r--r--py/lexer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/lexer.h b/py/lexer.h
index c2f621d4c..7f8d93b1e 100644
--- a/py/lexer.h
+++ b/py/lexer.h
@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef __MICROPY_INCLUDED_PY_LEXER_H__
+#define __MICROPY_INCLUDED_PY_LEXER_H__
/* lexer.h -- simple tokeniser for Micro Python
*
@@ -186,3 +188,5 @@ mp_import_stat_t mp_import_stat(const char *path);
mp_lexer_t *mp_lexer_new_from_file(const char *filename);
extern mp_uint_t mp_optimise_value;
+
+#endif // __MICROPY_INCLUDED_PY_LEXER_H__