Commit 926013c4 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix typos

parent 9b6ecc97
......@@ -4,7 +4,7 @@
"""
ASN.1 Value Editor - Value Notation parser and converter
This module contains two functions:
This module contains the following functions:
1) fromValueNotationToPySide(varName, string)
Parse a string containing an ASN.1 value expressed in GSER
......@@ -15,6 +15,9 @@
2) toASN1ValueNotation(val)
Does the reverse (from Qt widget to ASN.1 Value Notation/GSER)
3) valueNotationToSwig(gser, dest, sort, ASN1Swig, ASN1_AST, var=None)
Parse a Value Notation string and fill a SWIG instance with the values
Copyright (c) 2012-2015 European Space Agency
Designed and implemented by Maxime Perrotin
......@@ -65,7 +68,7 @@ INT = Combine(Optional(oneOf("+ -")) + (Word(srange("[1-9]"), nums)|Literal('0')
LID = Word(string.letters, string.letters+string.digits+'-')
identifier = LID.setResultsName('IDENTIFIER')
# Value reference is in practice used to identify enumerated valued
# Value reference is in practice used to identify enumerated values
valuereference = LID.setResultsName('VALUE_REF')
# FloatingPointLiteral
......@@ -209,7 +212,6 @@ def valueNotationToSwig(gser, dest, sort, ASN1Swig, ASN1_AST, var=None):
Outputs:
none - "dest" is modified by this function
'''
#var = var or fromValueNotationToPySide("input", gser).popitem()[1]
var = var or value.parseString(gser, True)[0]
def reach(field, orig, idx=True):
''' Helper: move swig pointer to the next field, and optionaly
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment