[Mono-list] [Fwd: mbas compiler]

POUSSINEAU Hervé herve.poussineau@cegetel.fr
Thu, 13 Mar 2003 17:19:51 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2E97C.600BD580
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

> Why, passing a vb file, mbas answer in this way?
>=20
> C:\w>mbas modMain.vb
> syntax error, expecting BINARY CLASS COMPARE CONST DELEGATE=20
> DIM END ENUM
> EVENT E
> XPLICIT FRIEND FUNCTION INTERFACE MODULE OFF PRIVATE PROPERTY=20
> PROTECTED
> PUBLIC S
> HARED STRUCTURE SUB TEXT WITHEVENTS OP_LT IDENTIFIER
> Line:     5 Col: 0
> VirtLine: 5 Token: 308   : Parsing error in modMain.vb
> modMain.vb(5) error BC9999:
> Mono.MonoBASIC.yyParser.yyException: irrecoverable syntax error
> in <0x00cd1> 00 Mono.MonoBASIC.Parser:yyparse
> (Mono.MonoBASIC.yyParser.yyInput)
> in <0x0023d> 00 Mono.MonoBASIC.Parser:parse ()
>=20
> Compilation failed: 1 Error(s), 0 warnings

Actually, you can't have your .vb file starting with a comment. You =
MUST
start with one of the above keywords

Regards
Herv=E9

------_=_NextPart_001_01C2E97C.600BD580
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Mono-list] [Fwd: mbas compiler]</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&gt; Why, passing a vb file, mbas answer in this =
way?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; C:\w&gt;mbas modMain.vb</FONT>
<BR><FONT SIZE=3D2>&gt; syntax error, expecting BINARY CLASS COMPARE =
CONST DELEGATE </FONT>
<BR><FONT SIZE=3D2>&gt; DIM END ENUM</FONT>
<BR><FONT SIZE=3D2>&gt; EVENT E</FONT>
<BR><FONT SIZE=3D2>&gt; XPLICIT FRIEND FUNCTION INTERFACE MODULE OFF =
PRIVATE PROPERTY </FONT>
<BR><FONT SIZE=3D2>&gt; PROTECTED</FONT>
<BR><FONT SIZE=3D2>&gt; PUBLIC S</FONT>
<BR><FONT SIZE=3D2>&gt; HARED STRUCTURE SUB TEXT WITHEVENTS OP_LT =
IDENTIFIER</FONT>
<BR><FONT SIZE=3D2>&gt; Line:&nbsp;&nbsp;&nbsp;&nbsp; 5 Col: 0</FONT>
<BR><FONT SIZE=3D2>&gt; VirtLine: 5 Token: 308&nbsp;&nbsp; : Parsing =
error in modMain.vb</FONT>
<BR><FONT SIZE=3D2>&gt; modMain.vb(5) error BC9999:</FONT>
<BR><FONT SIZE=3D2>&gt; Mono.MonoBASIC.yyParser.yyException: =
irrecoverable syntax error</FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x00cd1&gt; 00 =
Mono.MonoBASIC.Parser:yyparse</FONT>
<BR><FONT SIZE=3D2>&gt; (Mono.MonoBASIC.yyParser.yyInput)</FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0023d&gt; 00 =
Mono.MonoBASIC.Parser:parse ()</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Compilation failed: 1 Error(s), 0 =
warnings</FONT>
</P>

<P><FONT SIZE=3D2>Actually, you can't have your .vb file starting with =
a comment. You MUST start with one of the above keywords</FONT>
</P>

<P><FONT SIZE=3D2>Regards</FONT>
<BR><FONT SIZE=3D2>Herv=E9</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C2E97C.600BD580--