← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~paul-lucas/zorba/pjl-misc into lp:zorba

 

Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/pjl-misc into lp:zorba.

Commit message:
Fixed exception caught since it changed.  Also fixes error code returned for some tests.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/163196

Fixed exception caught since it changed.  Also fixes error code returned for some tests.
-- 
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/163196
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/compiler/parser/symbol_table.cpp'
--- src/compiler/parser/symbol_table.cpp	2013-05-09 00:21:51 +0000
+++ src/compiler/parser/symbol_table.cpp	2013-05-09 18:05:31 +0000
@@ -259,7 +259,7 @@
   try {
     return new xs_integer(text);
   }
-  catch ( std::range_error const& ) {
+  catch ( std::invalid_argument const& ) {
     return NULL;
   }
 }


Follow ups