summaryrefslogtreecommitdiff
path: root/src/sp_var_parser.c
diff options
context:
space:
mode:
authorChristian Göttsche2024-05-29 20:38:27 +0200
committerjvoisin2024-06-06 16:28:33 +0200
commit087590b889fc2746c1392fe0b36984ed3ec1e3b0 (patch)
tree9d329097f4d6dfb7e1ff134689ab1bcc20456182 /src/sp_var_parser.c
parent7b6fba417004fc9f5d17bcec1dd6be63f568ae8d (diff)
Fix misc typos
Diffstat (limited to 'src/sp_var_parser.c')
-rw-r--r--src/sp_var_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_var_parser.c b/src/sp_var_parser.c
index c7562f3..e674505 100644
--- a/src/sp_var_parser.c
+++ b/src/sp_var_parser.c
@@ -59,7 +59,7 @@ static int create_var(sp_tree *tree, const char *restrict value,
59 var_node->next = NULL; 59 var_node->next = NULL;
60 var_node->idx = NULL; 60 var_node->idx = NULL;
61 var_node->type = _type; 61 var_node->type = _type;
62 /* We consider `$` as part of the variable name, to tell them appart from 62 /* We consider `$` as part of the variable name, to tell them apart from
63 * php's constant 63 * php's constant
64 */ 64 */
65 if (value && value[0] == VARIABLE_TOKEN && _type == CONSTANT) { 65 if (value && value[0] == VARIABLE_TOKEN && _type == CONSTANT) {