ZhiqiangGao / beanshell2

Automatically exported from code.google.com/p/beanshell2
0 stars 0 forks source link

Java annotations. At least do not report error. #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Interprete a java source with annotations. For example, the most common one: 
@Override

What is the expected output? What do you see instead?
Expect no error in parsing.

What version of the product are you using? On what operating system?
bsh 2.1b5

Please provide any additional information below.
No I'm not saying support Java annotation. But for some harmless annotations, 
it's the best to skip them, rather than reporting parse error. For example:
@Documented
@Retention
@Target
@Override
@SuppressWarnings

Original issue reported on code.google.com by verilo...@gmail.com on 10 Oct 2012 at 9:13