Add loop syntactic sugar; errors now use print instead of debug; add check for duplicate labels.

This commit is contained in:
2020-11-01 14:41:50 +01:00
parent fd90480cec
commit daff23dd98
7 changed files with 133 additions and 14 deletions
+1 -2
View File
@@ -14,7 +14,6 @@ use std::io;
use crsn::asm::instr::cond::Flag;
use std::fmt;
use crsn::asm::data::Wr;
use std::time::Instant;
mod console {
use std::{io};
@@ -23,7 +22,7 @@ mod console {
use std::ffi::c_void;
use std::mem::{self, MaybeUninit};
use crsn::runtime::fault::Fault;
use std::time::{Duration, Instant};
use std::time::{Instant};
struct ReadCharState {
bytes: [u8; 4],