Hi All;
I am new to javacc but I am working on writing VB.Net grammar for
javacc and while parsing given sorce code the parser generates some
errors like:
Try
conn.Open()
ExchangeRate = CType(cmd.ExecuteScalar(), Decimal)
Finally
conn.Close()
End Try
-----------------Generated
Error------------------------------------------------
Encountered "ExchangeRate = CType" at line 52, column 13.
Was expecting one of:
"End" ...
<LineTerminator> ...
<IDENTIFIER> ":" ...
"Static" ...
"Dim" ...
"Const" ...
.......................
.......................
......................
----------------------------------------------------------------------------------------
And I have created the Grammar from VB.Net specification from:
http://msdn.microsoft.com/en-us/library/aa711636.aspx#Mtps_DropDownFi...
Can any one tell me what is the possibilities of this problem, or what
mistakes I have done while writing Javacc grammar.
Thanks In Advance
Larry Serflaten - 23 Jul 2008 14:36 GMT
> Hi All;
HEY! This is the same classic VB group! <he he>
Post your question to this group:
http://groups.google.com/group/microsoft.public.dotnet.languages.vb/topics?hl=en
LFS