I added hex and octal literals to the test suite and created a ticket 
for the wrong octal literals:

https://www.assembla.com/spaces/scala-ide/tickets/1001480-wrong-octal-literals-are-highlighted-as-integer-literals#/activity/ticket:

On 01/29/2013 05:55 PM, Luc Bourlier wrote:
>
> In 
> org.scala-ide.sdt.core.tests/src/scala/tools/eclipse/lexical/ScalaCodeScannerTest.scala:
>
> > +  def at_and_hash_are_symbol_keywords() {
> > +    tokenize("#") === Seq((OPERATOR, 0, 1))
> > +    tokenize("@") === Seq((OPERATOR, 0, 1))
> > +  }
> > +
> > +  @Test
> > +  def ascii_operators() {
> > +    val os = """!%&*+-<=>?\^|~/""" map (_.toString)
> > +    os map tokenize foreach {
> > +      _ === Seq((OPERATOR, 0, 1))
> > +    }
> > +  }
> > +
> > +  @Test
> > +  def number_literals() {
> > +    val xs = "1 1.0 1E1 1E-1 1e1 1D 1d 1F 1f 1L 1l" split " "
>
> I think hexadecimal and octal literal should be in the list too.
>
> And I noticed that |0889| seems to be wrongly accepted as an octal 
> literal, but it should likely be part of a different ticket.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/scala-ide/scala-ide/pull/279/files#r2811548>.
>