From 562fc4815173a02c43aea74d72b3ab073eeecae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Wed, 7 Oct 2020 19:27:30 +0200 Subject: [PATCH] add support for character literals using single quotes --- crsn/src/asm/parse/parse_data.rs | 31 +++++++++++++++++++------------ examples/stacks.csn | 4 ++-- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/crsn/src/asm/parse/parse_data.rs b/crsn/src/asm/parse/parse_data.rs index c991bfb..42c4cad 100644 --- a/crsn/src/asm/parse/parse_data.rs +++ b/crsn/src/asm/parse/parse_data.rs @@ -83,22 +83,20 @@ pub fn parse_data_disp(tok: Sexp, pcx: &ParserContext) -> Result Result