Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/Scanner.frame @ 7509:442668d41bc2
fixed warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 21 Jan 2013 12:23:55 +0100 |
parents | 31da1716950f |
children | b6743d7eb8d4 |
comparison
equal
deleted
inserted
replaced
7508:60c536556fc1 | 7509:442668d41bc2 |
---|---|
401 if (ch != Buffer.EOF) { | 401 if (ch != Buffer.EOF) { |
402 -->casing2 | 402 -->casing2 |
403 NextCh(); | 403 NextCh(); |
404 } | 404 } |
405 } | 405 } |
406 | 406 |
407 -->comments | 407 -->comments |
408 | 408 |
409 void CheckLiteral() { | 409 void CheckLiteral() { |
410 String val = t.val; | 410 String val = t.val; |
411 -->casing3 | 411 -->casing3 |
416 } | 416 } |
417 | 417 |
418 Token NextToken() { | 418 Token NextToken() { |
419 while (ch == ' ' || | 419 while (ch == ' ' || |
420 -->scan1 | 420 -->scan1 |
421 ) NextCh(); | 421 ) NextCh(); |
422 -->scan2 | 422 -->scan2 |
423 int recKind = noSym; | 423 int recKind = noSym; |
424 int recEnd = pos; | 424 int recEnd = pos; |
425 t = new Token(); | 425 t = new Token(); |
426 t.pos = pos; | 426 t.pos = pos; |