Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000928Taste[All Projects] ASN.1 Compiler v4public2020-06-20 16:482020-08-31 15:24
Reportergmamais 
Assigned Togmamais 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Summary0000928:

The compiler does not detect that field-b is defined both in the ASN.1 grammar and in the ACN grammar

Description

The compiler does not detect that field-b is defined both in the ASN.1 grammar and in the ACN grammar and the field does not appear in the .h file, which is not expected
Take this grammar:

Toto DEFINITIONS ::= BEGIN

MyInt ::= INTEGER (0..255)

AA ::= SEQUENCE {
field-a BOOLEAN,
field-b MyInt,
field-X SEQUENCE (SIZE (1..10)) OF BOOLEAN
}
END

and this ACN file

Toto DEFINITIONS ::= BEGIN

AA [] {
field-a [],
field-b MyInt [],
field-X [size field-b]
}
END

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003729)
gmamais (developer)
2020-06-21 08:46

fixed in the latest commit. A new test case was added, too


- Issue History
Date Modified Username Field Change
2020-06-20 16:48 gmamais New Issue
2020-06-20 16:48 gmamais Status

new => assigned

2020-06-20 16:48 gmamais Assigned To

=> gmamais

2020-06-20 16:49 gmamais Description Updated View Revisions
2020-06-21 08:46 gmamais Note Added: 0003729
2020-06-21 08:47 gmamais Status

assigned => resolved

2020-06-21 08:47 gmamais Resolution

open => fixed

2020-08-31 15:24 maxime Status

resolved => closed



Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker