Skip to content

ControlSymbol entity code #37

Description

@osession

I'm trying to use this package for one of my projects and ran into an issue where the parser tries to decode a character and gets a value error in the Control_Symbol initilization. The character it's finding is "\'", so I'm getting a ValueError: invalid literal for int() with base 16: "\'"

so I'm trying to understand more what this Control_Symbol init function is doing. I couldn't understand what the purpose of these two lines of code are:

if self.text in "\\{}": file.seek(file.tell() - SYMBOL)

Could you please provide an explanation for this part of the code?

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