From e84cccc11d433d7ed766925910ad8a0d7c52204f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Thu, 15 Aug 1996 01:38:30 +0200
Subject: [PATCH] commend about #define foo bar // added

Rev: doc/lpc/preprocessor:1.4
---
 doc/lpc/preprocessor | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/doc/lpc/preprocessor b/doc/lpc/preprocessor
index 3c45c0d9db..8a9f42c1c0 100644
--- a/doc/lpc/preprocessor
+++ b/doc/lpc/preprocessor
@@ -56,6 +56,16 @@ DESCRIPTION
 	'identifier(something1,something2d)' would be replaced with
 	the replacement string. And in the replacement string, arg1 and arg2
 	will be replaced with something1 and something2.
+
+BUGS
+	Note that it is not a good idea to do something like this:
+
+	#define foo bar // a comment
+
+	The comment will be included in the define, and thus inserted in the
+	code. This will have the effect that the rest of the line will be
+	ignored when the word foo is used. Not exactly what you might expect.
+
 ============================================================================
 DIRECTIVE
 	#undef
@@ -127,7 +137,7 @@ DESCRIPTION
 
 EXAMPLES
 	#if !efun(write_file)
-	#error Move object is missing
+	#error Write file efun is missing
 	#endif
 ============================================================================
 DIRECTIVE
-- 
GitLab