Author: kjs
Date: Sat Jan 17 05:01:40 2009
New Revision: 35679
Modified:
trunk/compilers/pirc/src/bcgen.h
Log:
[pirc] add a forward declaration of lexer_state struct; gcc emits an error otherwise. msvc handles this fine.
Modified: trunk/compilers/pirc/src/bcgen.h
==============================================================================
--- trunk/compilers/pirc/src/bcgen.h (original)
+++ trunk/compilers/pirc/src/bcgen.h Sat Jan 17 05:01:40 2009
@@ -125,7 +125,10 @@
*/
-
+/* forward declaration of lexer_state struct. In the future, this parameter should
+ * go, so that this forward declaration can go too.
+ */
+struct lexer_state;
int add_sub_pmc(bytecode * const bc, sub_info * const info, int needlex, int subpragmas,
struct lexer_state * const lexer);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.