Commit c87bd7d
committed
Fix ASN.1 parser to handle module definitions properly
- Fix parsing error: 'Failed to parse type definition FixExtensions DEFINITIONS ::= BEGIN: Unsupported type: BEGIN'
- Add logic to skip ASN.1 module definition lines (MODULE DEFINITIONS ::= BEGIN)
- Prevent parser from trying to parse 'BEGIN' as a type definition
- Module definitions are now properly recognized and skipped during parsing
- Build now completes successfully without ASN.1 parsing errors
The parser was incorrectly trying to parse module definition syntax as type definitions.
Added a check to skip lines containing 'DEFINITIONS ::= BEGIN' before type parsing.1 parent e84382b commit c87bd7d
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
963 | 969 | | |
964 | 970 | | |
965 | 971 | | |
| |||
0 commit comments