[Mono-list] mbas compiler
A Rafael D Teixeira
Thu, 13 Mar 2003 13:06:33 -0300
>Hi, I'm new to mbas and I want to contribute using it.
>Do I need to pass to mbas *.vb files?
Yes, a list of all the ones you want compiled in the same assembly (EXE or
DLL). In VS.NET you see it as all the sources inside a project inside the
>How can I pass all the .vb s files?
Just separated by spaces.
mbas source1.vb source2.vb source3.vb
>Do I have to specify in the command line the imports or it is automatically
>done by mbas?
Yes, with the /r option
mbas /r System source1.vb source2.vb source3.vb
>May I pass a .sln or .vbproj file?
No you can't, but tha are tools to convert them to makefiles
>Why, passing a vb file, mbas answer in this way?
>syntax error, expecting BINARY CLASS COMPARE CONST DELEGATE DIM END ENUM
>XPLICIT FRIEND FUNCTION INTERFACE MODULE OFF PRIVATE PROPERTY PROTECTED
>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
>in <0x0023d> 00 Mono.MonoBASIC.Parser:parse ()
>Compilation failed: 1 Error(s), 0 warnings
Either you have an syntax error in your vb code, or you've found a bug in
mbas. Could you send your source for us to find out what is the case?
>Thankyou very much!
You are welcome! Thank you for helping us test mbas.
>Mono rulez! :D
Mono, MonoQLE Hacker
Add photos to your messages with MSN 8. Get 2 months FREE*.