From 0b26cd4f5ecff8a01fb3f0adb902c14e043581e9 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 23 Aug 2022 16:29:31 +0200 Subject: parse sb,ub,sh,uh abi types --- tools/lexh.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/lexh.c b/tools/lexh.c index 8d0af21..1aea3e0 100644 --- a/tools/lexh.c +++ b/tools/lexh.c @@ -27,8 +27,9 @@ char *tok[] = { "call", "phi", "jmp", "jnz", "ret", "export", "function", "type", "data", "section", "align", - "l", "w", "h", "b", "d", "s", "z", "loadw", "loadl", - "loads", "loadd", "alloc1", "alloc2", + "l", "w", "sh", "uh", "h", "sb", "ub", "b", + "d", "s", "z", "loadw", "loadl", "loads", "loadd", + "alloc1", "alloc2", }; enum { @@ -69,7 +70,7 @@ main() th[i] = h; } - for (i=0; 1<