diff options
author | Burak Emir <emir@epfl.ch> | 2007-05-08 15:03:59 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2007-05-08 15:03:59 +0000 |
commit | c1e09aa0b3eeb693c1cef571d4dacb8d50a94230 (patch) | |
tree | 6a034f405243c110d853c6895f83b8bd0c592e81 /docs/examples/xml/phonebook | |
parent | 4f41a69e99c72bd9cb1a35d01c5d1034f8cf7e74 (diff) | |
download | scala-c1e09aa0b3eeb693c1cef571d4dacb8d50a94230.tar.gz scala-c1e09aa0b3eeb693c1cef571d4dacb8d50a94230.tar.bz2 scala-c1e09aa0b3eeb693c1cef571d4dacb8d50a94230.zip |
fixed bug
Diffstat (limited to 'docs/examples/xml/phonebook')
-rw-r--r-- | docs/examples/xml/phonebook/phonebook3.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/xml/phonebook/phonebook3.scala b/docs/examples/xml/phonebook/phonebook3.scala index 76cc00f227..51608beb28 100644 --- a/docs/examples/xml/phonebook/phonebook3.scala +++ b/docs/examples/xml/phonebook/phonebook3.scala @@ -27,7 +27,7 @@ object phonebook3 { var updated = false; val ch2 = for(val c <- ch1) yield c match { // does it have the phone number? - case y @ <phone>{ _* }</phone> if y.attribute("where") == Where => + case y @ <phone>{ _* }</phone> if y \ "@where" == Where => updated = true <phone where={ Where }>{ newPhone }</phone> |