Changes in / [e276be6:23ecea4]


Ignore:
Files:
9 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/Makefile.in

    re276be6 r23ecea4  
    1 # Makefile.in generated by automake 1.15 from Makefile.am.
     1# Makefile.in generated by automake 1.16.1 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994-2014 Free Software Foundation, Inc.
     4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
    55
    66# This Makefile.in is free software; the Free Software Foundation
     
    331331            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
    332332          *) \
    333             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
    334             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
     333            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
     334            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
    335335        esac;
    336336
     
    377377
    378378
    379 distdir: $(DISTFILES)
     379distdir: $(BUILT_SOURCES)
     380        $(MAKE) $(AM_MAKEFLAGS) distdir-am
     381
     382distdir-am: $(DISTFILES)
    380383        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    381384        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  • libcfa/src/Makefile.am

    re276be6 r23ecea4  
    3333# The built sources must not depend on the installed headers
    3434AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@
    35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -fexceptions -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@
     35AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@
    3636AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
    3737CFACC = @CFACC@
  • libcfa/src/Makefile.in

    re276be6 r23ecea4  
    456456# The built sources must not depend on the installed headers
    457457AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@
    458 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -fexceptions -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@
     458AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@
    459459AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
    460460@BUILDLIB_FALSE@headers_nosrc =
  • libcfa/src/exception.c

    re276be6 r23ecea4  
    1010// Created On       : Mon Jun 26 15:13:00 2017
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Apr 06 14:40:00 2020
    13 // Update Count     : 15
     12// Last Modified On : Fri Apr 03 11:57:00 2020
     13// Update Count     : 14
    1414//
    1515
     
    7575// RESUMPTION ================================================================
    7676
    77 static void reset_top_resume(struct __cfaehm_try_resume_node ** store) {
    78         this_exception_context()->top_resume = *store;
    79 }
    80 
    8177void __cfaehm_throw_resume(exception_t * except) {
    8278        struct exception_context_t * context = this_exception_context();
     
    8480        __cfaabi_dbg_print_safe("Throwing resumption exception\n");
    8581
    86         __attribute__((cleanup(reset_top_resume)))
    8782        struct __cfaehm_try_resume_node * original_head = context->top_resume;
    8883        struct __cfaehm_try_resume_node * current = context->top_resume;
     
    9186                context->top_resume = current->next;
    9287                if (current->handler(except)) {
     88                        context->top_resume = original_head;
    9389                        return;
    9490                }
     
    9692
    9793        __cfaabi_dbg_print_safe("Unhandled exception\n");
     94        context->top_resume = original_head;
    9895
    9996        // Fall back to termination:
  • tests/errors/.expect/completeType.txt

    re276be6 r23ecea4  
    2727    void
    2828  )
    29   Environment:( _85_2_DT ) -> instance of struct A with body 0 (no widening)
     29  Environment:( _85_4_DT ) -> instance of struct A with body 0 (no widening)
    3030
    3131
     
    5050    void
    5151  )
    52   Environment:( _85_2_DT ) -> instance of struct B with body 1 (no widening)
     52  Environment:( _85_4_DT ) -> instance of struct B with body 1 (no widening)
    5353
    5454
  • tests/exceptions/.expect/interact.txt

    re276be6 r23ecea4  
    1414resumption catch, will terminate
    1515inner termination catch
    16 
    17 throwing resume moon
    18 resumption moon catch, will terminate
    19 termination catch
    20 throwing resume star
    21 resumption star catch
  • tests/exceptions/.expect/resume.txt

    re276be6 r23ecea4  
    2525caught second exception
    2626recaught first exception
    27 
    28 inner catch
    29 inner catch
    30 outer catch
  • tests/exceptions/.expect/terminate.txt

    re276be6 r23ecea4  
    2424caught second exception
    2525recaught first exception
    26 
    27 inner catch
    28 outer catch
  • tests/exceptions/interact.cfa

    re276be6 r23ecea4  
    8686                printf("outer terminate catch (error)\n");
    8787        }
     88#if 0
    8889        printf("\n");
    8990
     
    110111                printf("outermost catch (error)\n");
    111112        }
     113#endif
    112114}
  • tests/exceptions/resume.cfa

    re276be6 r23ecea4  
    9999                printf("caught second exception (bad location)\n");
    100100        }
    101         printf("\n");
    102 
    103         // Check successive operations.
    104         try {
    105                 try {
    106                         THROW_RESUME(&(zen){});
    107                         THROW_RESUME(&(zen){});
    108                 } catchResume (zen *) {
    109                         printf("inner catch\n");
    110                 }
    111                 THROW_RESUME(&(zen){});
    112         } catchResume (zen *) {
    113                 printf("outer catch\n");
    114         }
    115101}
  • tests/exceptions/terminate.cfa

    re276be6 r23ecea4  
    9999                printf("caught second exception (bad location)\n");
    100100        }
    101         printf("\n");
    102 
    103         // Check successive operations.
    104         try {
    105                 try {
    106                         THROW(&(zen){});
    107                         THROW(&(zen){});
    108                 } catch (zen *) {
    109                         printf("inner catch\n");
    110                 }
    111                 THROW(&(zen){});
    112         } catch (zen *) {
    113                 printf("outer catch\n");
    114         }
    115101}
  • tools/vscode/uwaterloo.cforall-0.1.0/package.json

    re276be6 r23ecea4  
    1515                "Other"
    1616        ],
    17         "activationEvents": [
    18                 "onLanguage:cforall"
    19         ],
    20         "main": "./client/main.js",
    2117        "contributes": {
    2218                "languages": [
     
    4339                                "path": "./syntaxes/cfa.tmLanguage.json"
    4440                        }
    45                 ],
    46                 "configuration": {
    47                         "type": "object",
    48                         "title": "Example configuration",
    49                         "properties": {
    50                                 "cforall.maxNumberOfProblems": {
    51                                         "scope": "resource",
    52                                         "type": "number",
    53                                         "default": 100,
    54                                         "description": "Controls the maximum number of problems produced by the server."
    55                                 },
    56                                 "cforall.trace.server": {
    57                                         "scope": "window",
    58                                         "type": "string",
    59                                         "enum": [
    60                                                 "off",
    61                                                 "messages",
    62                                                 "verbose"
    63                                         ],
    64                                         "default": "off",
    65                                         "description": "Traces the communication between VS Code and the language server."
    66                                 }
    67                         }
    68                 }
    69         },
    70         "dependencies": {
    71                 "vscode-languageclient": "^4.1.4"
    72         },
    73         "devDependencies": {
    74                 "vscode-languageclient": "^4.1.4"
     41                ]
    7542        }
    7643}
Note: See TracChangeset for help on using the changeset viewer.