summaryrefslogtreecommitdiffhomepage
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.h b/src/ast.h
index a9c61ff..3f11633 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -38,7 +38,7 @@ typedef struct wpart {
size_t len;
} lit;
param *param;
- node *cmd; /**< P_CMDSUB; NULL for an empty $() */
+ node *cmd; /**< P_CMDSUB; nullptr for an empty $() */
struct wpart *arith; /**< P_ARITH: the expression text */
} u;
} wpart;
@@ -216,7 +216,7 @@ typedef struct node {
} bin; /**< N_AND, N_OR, N_SEQ */
struct node *body; /**< N_NOT, N_BG, N_SUBSHELL, N_GROUP */
struct {
- struct node *body; /**< the pipeline, or NULL for none */
+ struct node *body; /**< the pipeline, or nullptr for none */
bool posix; /**< `-p`: the POSIX output format */
} time; /**< N_TIME */
wpart *arith; /**< N_ARITH: one P_ARITH part */