Skip to content

Multiple scripts failing lexer creation #152

@jordancolbeth

Description

@jordancolbeth

Example of the script error:
Image

  • A0-1-4
  • A0-1-6
  • A10-3-1
  • A15-1-2
  • A15-3-5
  • A2-13-1
  • A5-2-3
  • A7-1-7
  • CPP_A006
  • CPP_C017
  • CPP_D052
  • CPP_E020
  • CPP_F018
  • CPP_F021
  • CPP_F031
  • CPP_H002
  • CPP_PR036
  • ENV30-C
  • M16-0-5
  • M16-0-6
  • M16-1-1
  • M4-5-1
  • M5-0-17
  • M5-3-2
  • M6-4-2
  • M6-6-1
  • MISRA08_2-13-3
  • MISRA08_2-13-5
  • MISRA23_11.6.1
  • MISRA23_12.2.1
  • MISRA23_21.6.2
  • MISRA23_5.13.2
  • MISRA23_6.5.2
  • MISRA23_7.11.3
  • MISRA23_7.11.3
  • MISRA23_7.11.3
  • MISRA23_8.14.1
  • MISRA23_8.2.8
  • MISRA23_8.3.2
  • MISRA23_9.5.2
  • RECOMMENDED_00
  • RECOMMENDED_09
  • RECOMMENDED_13

Details for each script error can be found here:
Misra_C++_2023_Inspection_error.pdf

Note: The user was also getting an analysis error because the database was locked/read-only. This may be why lexer creation suddenly failed on all these checks at once. I believe the checks just need some form of validation to check if the lexer can be created before invoking the lexer() method.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions