summaryrefslogtreecommitdiff
path: root/awk.h
diff options
context:
space:
mode:
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h6
1 files changed, 6 insertions, 0 deletions
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