Update file tokenizer.py
Browse files- tokenizer.py +4 -2
tokenizer.py
CHANGED
|
@@ -4,6 +4,10 @@ import re
|
|
| 4 |
|
| 5 |
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
class Token:
|
| 8 |
def __init__(self, byte, prev):
|
| 9 |
self.byte = byte
|
|
@@ -150,8 +154,6 @@ class Tokenizer:
|
|
| 150 |
|
| 151 |
# Weak part of the project. Maybe implement a handler?
|
| 152 |
|
| 153 |
-
import os
|
| 154 |
-
import subprocess
|
| 155 |
|
| 156 |
def c_compile(self, c_dir):
|
| 157 |
script_dir = os.path.dirname(__file__)
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
+
import os
|
| 8 |
+
import subprocess
|
| 9 |
+
|
| 10 |
+
|
| 11 |
class Token:
|
| 12 |
def __init__(self, byte, prev):
|
| 13 |
self.byte = byte
|
|
|
|
| 154 |
|
| 155 |
# Weak part of the project. Maybe implement a handler?
|
| 156 |
|
|
|
|
|
|
|
| 157 |
|
| 158 |
def c_compile(self, c_dir):
|
| 159 |
script_dir = os.path.dirname(__file__)
|