Skip to content

ASAP2_VERSION 1 61 compatible issues  #7

@baoxinqiang

Description

@baoxinqiang

/begin COMPU_METHOD cv_0_001Nm[rpm]_S2 ""
IDENTICAL "%5.0" "0.001 Nm/rpm"
/end COMPU_METHOD
the identifier "cv_0_001Nm[rpm]_S2" will be parsed as 2 identifiers, probely because [ ] character.

/begin CALIBRATION_METHOD
"DataSetId" 0x100
/begin CALIBRATION_HANDLE
0x8031453C
/end CALIBRATION_HANDLE
/end CALIBRATION_METHOD
for the version "0x100" it is sometime be Hex, not always be Integer. but the code is fixed as bellow,
void A2lGrammar::initCalibration_method()
{
calibration_method.typePar << String << Integer;
calibration_method.namePar << "Method" << "Version";
calibration_method.factoryOptNode.insert("CALIBRATION_HANDLE", &CALIBRATION_HANDLE::nodeFactory);
}

Is it possible to give some suggestion to fix this issue? thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions