Skip to content
Success

Changes

Summary

  1. Make the symbol table's error-checking times explicit. (details)
  2. miscellaneous updates (details)
  3. lower case type names open_failure, close_failure, write_failure, read_failure (details)
Commit b9fe89bef7dc42eaa9590f00a8391b0fe1b904a2 by Michael Brooks
Make the symbol table's error-checking times explicit.

Previously, error checking happened on all WithSymbolTable uses.  Error checking means having a symbol-table add operation potentially cause a user-visible error report.  Now, this only happens on the resolver pass's symbol table, while other passes' run in an "assert no errors can happen" mode.

An "ignore errors for now" mode is implemented too, which will be used in upcoming commits, for pre-resolver passes that use the symbol table.
The file was modifiedsrc/AST/SymbolTable.cpp
The file was modifiedsrc/AST/SymbolTable.hpp
The file was modifiedsrc/AST/Pass.hpp
The file was modifiedsrc/ResolvExpr/Resolver.cc
Commit 134e6d9b32539c6e7854c1d9211fbefa0c94f9d1 by Peter Buhr
miscellaneous updates
The file was modifieddoc/user/user.tex
Commit 874b16e4ec3267372a00df991cebd1f190221b10 by Peter Buhr
lower case type names open_failure, close_failure, write_failure, read_failure
The file was modifiedtests/.in/copyfile.txt
The file was modifiedtests/configs/parseconfig.cfa
The file was modifiedtests/configs/.expect/parseconfig.txt
The file was modifiedlibcfa/src/parseconfig.cfa
The file was modifiedlibcfa/src/fstream.cfa
The file was modifiedlibcfa/src/fstream.hfa
The file was modifiedtests/.expect/copyfile.txt
The file was modifiedtests/copyfile.cfa