From 53892e324939cf3526c9242a5ea81555dc16e408 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 2 Dec 2014 20:59:19 +0200 Subject: Redo commenting mechanism. --- awk.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'awk.h') diff --git a/awk.h b/awk.h index a932b54d..425760af 100644 --- a/awk.h +++ b/awk.h @@ -530,6 +530,9 @@ typedef struct exp_node { #define adepth sub.nodep.l.ll #define alevel sub.nodep.x.xl +/* Op_comment */ +#define comment_type sub.val.idx + /* --------------------------------lint warning types----------------------------*/ typedef enum lintvals { LINT_illegal, @@ -794,6 +797,9 @@ typedef struct exp_instruction { /* Op_arrayfor_incr */ #define array_var x.xn +/* Op_comment */ +#define comment_text x.xn + /* Op_line_range */ #define triggered x.xl -- cgit v1.2.1