diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-11 00:14:16 -0500 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-07-17 12:04:38 +0200 |
commit | 32fd97df41bb2e99018f024f41b06490e41bd7ad (patch) | |
tree | 4b40fb915776892da3de3227f771a205a2c38a82 /test/files/neg | |
parent | 0cfd858a38ddf0ac83d9bbefe85110f88dc707c0 (diff) | |
download | scala-32fd97df41bb2e99018f024f41b06490e41bd7ad.tar.gz scala-32fd97df41bb2e99018f024f41b06490e41bd7ad.tar.bz2 scala-32fd97df41bb2e99018f024f41b06490e41bd7ad.zip |
Fix for SI-5385.
Nodes which hit EOF with no whitespace afterward had
wrong position.
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t4069.check | 2 | ||||
-rw-r--r-- | test/files/neg/t4584.check | 7 | ||||
-rw-r--r-- | test/files/neg/unicode-unterminated-quote.check | 5 |
3 files changed, 10 insertions, 4 deletions
diff --git a/test/files/neg/t4069.check b/test/files/neg/t4069.check index 91bf882cec..08e937bdfe 100644 --- a/test/files/neg/t4069.check +++ b/test/files/neg/t4069.check @@ -12,5 +12,5 @@ t4069.scala:4: error: I encountered a '}' where I didn't expect one, maybe this ^ t4069.scala:10: error: '}' expected but eof found. } -^ + ^ 5 errors found diff --git a/test/files/neg/t4584.check b/test/files/neg/t4584.check index 060160d76a..419f5704b1 100644 --- a/test/files/neg/t4584.check +++ b/test/files/neg/t4584.check @@ -1,4 +1,7 @@ -t4584.scala:1: error: incomplete unicode escape +t4584.scala:1: error: error in unicode escape +class A { val /u2 + ^ +t4584.scala:1: error: illegal character '/uffff' class A { val /u2 ^ -one error found +two errors found diff --git a/test/files/neg/unicode-unterminated-quote.check b/test/files/neg/unicode-unterminated-quote.check index fc5caa6d7e..5085505fb4 100644 --- a/test/files/neg/unicode-unterminated-quote.check +++ b/test/files/neg/unicode-unterminated-quote.check @@ -1,4 +1,7 @@ unicode-unterminated-quote.scala:2: error: unclosed string literal val x = /u0022 ^ -one error found +unicode-unterminated-quote.scala:2: error: '}' expected but eof found. + val x = /u0022 + ^ +two errors found |