From 4a818684e2bc23c1ba09dec6cb74127e8e0e3f95 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Wed, 31 Jul 2019 22:57:53 -0300 Subject: Cleaning up --- printtokens.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'printtokens.lua') diff --git a/printtokens.lua b/printtokens.lua index 62e8fd9..2cc6125 100644 --- a/printtokens.lua +++ b/printtokens.lua @@ -1,5 +1,5 @@ --[[ - This file is part of luatokens.lua - pure-Lua Lua tokenizer + This file is part of Cratera Compiler Copyright (C) 2019 Soni L. This program is free software: you can redistribute it and/or modify @@ -16,7 +16,7 @@ along with this program. If not, see . --]] -local parser = require "parser" +local parser = require "cratera.parser" -- CLI argument rules local defs = parser.selfify({}) @@ -50,7 +50,7 @@ end defs['--'] = parser.selfify({[parser.FALLBACK] = defs[parser.FALLBACK], [parser.EOZ] = defs[parser.EOZ]}) local state = parser.parse(defs, arg) -local luatokens = require "luatokens" +local luatokens = require "cratera.luatokens" local file = state.file local tokens = luatokens.defs local state, err, etoken, estate = parser.parse(tokens, function() return file:read(8192) end) -- cgit 1.4.1