aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser
diff options
context:
space:
mode:
authorChimrod <>2023-12-07 18:47:13 +0100
committerChimrod <>2023-12-07 18:47:13 +0100
commitcb5dba7e1ad74f81294b8f48b84cab7683059afa (patch)
tree420e3433c12495c33210b5a3647e2f702479a00f /lib/qparser
parent07cb010ccd29a586c992ab76c81934979ba1a755 (diff)
QSPVER was incorrectly considered as a function and not a keyword
Diffstat (limited to 'lib/qparser')
-rw-r--r--lib/qparser/idents.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qparser/idents.ml b/lib/qparser/idents.ml
index 02fbac2..06bf32a 100644
--- a/lib/qparser/idents.ml
+++ b/lib/qparser/idents.ml
@@ -131,8 +131,8 @@ let _ =
("PL", KEYWORD T.Pl);
("*PL", KEYWORD T.Pl');
("PLAY", KEYWORD T.Play);
- ("QSPVER", FUNCTION T.Qspver);
- ("$QSPVER", FUNCTION T.Qspver');
+ ("$QSPVER", IDENT "$QSPVER");
+ ("QSPVER", IDENT "$QSPVER");
("RAND", FUNCTION T.Rand);
("REFINT", KEYWORD T.RefInt);
("REPLACE", FUNCTION T.Replace);