aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-12-12 06:16:43 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-12-12 06:16:43 +0200
commitfa9d1a09cfe9e7386746a2c6523b5503d1b4aff9 (patch)
tree93978608230ffd409cd8a32eaa4225d7f4905c83 /awk.h
parentedfe2064ee8285ccc70b9254ed191d5cef1de14f (diff)
downloadegawk-fa9d1a09cfe9e7386746a2c6523b5503d1b4aff9.tar.gz
egawk-fa9d1a09cfe9e7386746a2c6523b5503d1b4aff9.tar.bz2
egawk-fa9d1a09cfe9e7386746a2c6523b5503d1b4aff9.zip
Improve comment handling in pretty printing.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index a932b54d..41181529 100644
--- a/awk.h
+++ b/awk.h
@@ -530,6 +530,11 @@ typedef struct exp_node {
#define adepth sub.nodep.l.ll
#define alevel sub.nodep.x.xl
+/* Op_comment */
+#define comment_type sub.val.idx
+#define EOL_COMMENT 1
+#define FULL_COMMENT 2
+
/* --------------------------------lint warning types----------------------------*/
typedef enum lintvals {
LINT_illegal,