aboutsummaryrefslogtreecommitdiff
path: root/compilador/lexer.py
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-11-25 22:29:55 -0600
committerIván Ávalos <avalos@disroot.org>2022-11-25 22:29:55 -0600
commit4781982737ce297a79f71737445a62390e4e5c7d (patch)
tree7f166dff8fca40b58f255421cac35d1f163dab0a /compilador/lexer.py
parentc77e283d7cf49001496f017764bac27e1b76a802 (diff)
downloadjavanol-4781982737ce297a79f71737445a62390e4e5c7d.tar.gz
javanol-4781982737ce297a79f71737445a62390e4e5c7d.tar.bz2
javanol-4781982737ce297a79f71737445a62390e4e5c7d.zip
Se añaden encabezados de licencia
Diffstat (limited to 'compilador/lexer.py')
-rw-r--r--compilador/lexer.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/compilador/lexer.py b/compilador/lexer.py
index 4d97b9d..9854a51 100644
--- a/compilador/lexer.py
+++ b/compilador/lexer.py
@@ -1,3 +1,19 @@
+#!/bin/env python
+# -*- coding: utf-8 -*-
+# Copyright (C) 2022 Iván Alejandro Ávalos Díaz <avalos@disroot.org>
+# Edgar Alexis López Martínez <edgarmlmp@gmail.com>
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
from enum import Enum
from tabla import LexToken, TablaLex, Token, tokens, reservadas
from parser import Parser