From 73fd0570b5b0ee61cc3f8c9941e92a716f88a825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 23 May 2000 19:14:40 -0700 Subject: [PATCH] bugfix Rev: lib/modules/Parser.pmod/C.pmod:1.2 --- lib/modules/Parser.pmod/C.pmod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/Parser.pmod/C.pmod b/lib/modules/Parser.pmod/C.pmod index 7b7766baa8..96566577f2 100644 --- a/lib/modules/Parser.pmod/C.pmod +++ b/lib/modules/Parser.pmod/C.pmod @@ -210,7 +210,7 @@ class Token int `==(mixed foo) { - return objectp(foo) ? foo->text : foo == text; + return (objectp(foo) ? foo->text : foo) == text; } string `+(string ... s) -- GitLab