plaidgroup / plaid-lang

The Plaid Programming Language Tools
11 stars 1 forks source link

The parser cannot compile code containing "/**/"! #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
{{{
// Why cannot parser compile below code becasue of "/**/"?
method main()
{
    /**/
    val c1 = new Character { val nativeVal = 'c'; };
    val c2 = new Character with { val nativeVal = 'c'; };
}
// And also this one:
method main()
{
    /**/
    val c1 = new Character { val nativeVal = 'c'; };
    val c2 = new Character with { val nativeVal = 'c'; };
}
// some comments at the end of the file...
}}}

Original issue reported on code.google.com by akefi...@gmail.com on 4 Dec 2012 at 12:17