OBFI

Brainfuck Interpreter
git clone http://git.omkov.net/OBFI
Log | Tree | Refs | README | LICENCE | Download

AuthorJakob Wakeling <[email protected]>
Date2020-07-01 09:36:49
Commit177d490ae0f49c270608ece44b871c8efd18bd79
Parente15818a35ed81e6f297a2e93f306f06aa3459dae

Rename lex files to parse

Diffstat

R src/lex.c -> src/parse.c | 6 +++---
R src/lex.h -> src/parse.h | 3 ++-
M src/main.c | 2 +-

3 files changed, 6 insertions, 5 deletions

diff --git a/src/main.c b/src/main.c
index d8ea397..22adaf8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -33,7 +33,7 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
 */
 
-#include "lex.h"
+#include "parse.h"
 
 #include "error.h"
 #include "optget.h"
diff --git a/src/lex.c b/src/parse.c
similarity index 97%
rename from src/lex.c
rename to src/parse.c
index ab0d0e6..3021504 100644
--- a/src/lex.c
+++ b/src/parse.c
@@ -1,5 +1,5 @@
-// lex.c
-// Lexer source file for OBFI
+// parse.c
+// Parser source file for OBFI
 // Copyright (C) 2020, Jakob Wakeling
 // All rights reserved.
 
@@ -33,7 +33,7 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
 */
 
-#include "lex.h"
+#include "parse.h"
 
 #include <stddef.h>
 #include <stdio.h>
diff --git a/src/lex.h b/src/parse.h
similarity index 98%
rename from src/lex.h
rename to src/parse.h
index cf320d6..25fe480 100644
--- a/src/lex.h
+++ b/src/parse.h
@@ -1,5 +1,5 @@
-// lex.h
-// Lexer header file for OBFI
+// parse.h
+// Parser header file for OBFI
 // Copyright (C) 2020, Jakob Wakeling
 // All rights reserved.