Ignore:
Timestamp:
01/25/10 12:55:18 (14 years ago)
Author:
tmaciejewski
Message:

Framclipse updates:

  • added information where parsing errors occured
  • removed deprecated API from hover support
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/FramclipsePlugin/src/main/java/com/framsticks/framclipse/internal/parser/FramclipseParser.java

    r13 r56  
    2626        }
    2727       
    28         public Node parse(String content, EditorType editorType, URL url) {
     28        public Node parse(String content, EditorType editorType, URL url) throws ParseException {
    2929                if (editorType.equals(EditorType.FRAMSCRIPT)) {
    3030
     
    6666                                                                }
    6767                                                                recursiveSetOffset(inc, inc.getBeginOffset(), inc.getEndOffset());
    68                                                         } catch (Throwable e) {
     68                                                        } catch (ParseException e) {
    6969                                                                inc.setValid(false);
    7070                                                                System.err.println("In "+path+fname);
     
    7575                                }
    7676                                return model;
     77                        } catch (ParseException e) {
     78                                e.printStackTrace();
     79                                throw e;
     80                        } catch (TokenMgrError e) {
     81                                e.printStackTrace();
     82                                throw e;
    7783                        } catch (Exception e) {
    7884                                e.printStackTrace();
    79                         } catch (TokenMgrError err) {
    80                                 err.printStackTrace();
    8185                        }
    8286                }
Note: See TracChangeset for help on using the changeset viewer.