mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Macro YY_FATAL_ERROR() is defined in ExprIntrp.lex in order to have exception instead of program exit in case of scanner error. Fixed-length string buffers are replaced by TCollection_AsciiString to avoid buffer overflow. Some code refactoring: declarations of functions moved to header file, unused global declarations and variables removed, compiler warnings fixed or disabled, obsolete EDL file removed. Test case for issue CR24897 Correction of MSVC compiler warning when scanner is generated using Flex 2.5.35 on Linux
12 lines
351 B
Plaintext
Executable File
12 lines
351 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC24897"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Possibility of uncontrolled exit if scanner fails in ExprIntrp
|
|
#######################################################################
|
|
|
|
pload QAcommands
|
|
|
|
CR23403 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|