JetJadeja / Tanzine

A Programming Language Interpreted in Python.
MIT License
6 stars 0 forks source link

Python Error Not Covered By Parser: (TypeError: syntax_error() missing 1 required positional argument: 'text') #45

Open Tater-Bot opened 4 years ago

Tater-Bot commented 4 years ago

A Python error occurred when running this Tanzine: https://discordapp.com/channels/731302554784235520/732672699297562814/766410978618245150

Tanzine Code:

@VAR@ f = @RUN@ (/open,'Cargo.toml','r')
@VAR@ read = @RUN@ (@f,read)
@RUN@ (/print,@read)

Python Error:

Traceback (most recent call last):
  File "run.py", line 10, in <module>
    parser.Parse()
  File "/root/tanzine-bot/tokens.py", line 350, in Parse
    errors.syntax_error()
TypeError: syntax_error() missing 1 required positional argument: 'text'