From 619c5cc4ab4bd94f9b270a9868bb5f08ffd76acb Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Wed, 18 Jan 2017 18:55:22 -0600 Subject: nqasm: allow specifying labels for operands --- nqasm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'nqasm.h') diff --git a/nqasm.h b/nqasm.h index 232c41b..f2e036d 100644 --- a/nqasm.h +++ b/nqasm.h @@ -1,9 +1,14 @@ #ifndef NQ_NQASM_H #define NQ_NQASM_H +#define ARG_INTEGER 0 +#define ARG_LABEL 1 + struct argument { + int type; union { - int value; + long value; + char *label; }; }; -- cgit v1.2.3