You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./compile.py", line 1245, in <module>
main(sys.argv[1])
File "./compile.py", line 1234, in main
ast = parse_file(filename, use_cpp=True, cpp_args=[r"-DLC3"])
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/__init__.py", line 90, in parse_file
return parser.parse(text, filename)
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/c_parser.py", line 149, in parse
return self.cparser.parse(
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/ply/yacc.py", line 331, in parse
return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/ply/yacc.py", line 1199, in parseopt_notrack
tok = call_errorfunc(self.errorfunc, errtoken, self)
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/ply/yacc.py", line 193, in call_errorfunc
r = errorfunc(token)
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/c_parser.py", line 1858, in p_error
self._parse_error(
File "/home/rochan/classwork/cs2110/Project1/Projects/Project3/lc3-cc/lib/python3.8/site-packages/pycparser/plyparser.py", line 67, in _parse_error
raise ParseError("%s: %s" % (coord, msg))
pycparser.plyparser.ParseError: /usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h:40:27: before: __gnuc_va_list
The text was updated successfully, but these errors were encountered:
I have set up everything as described with lc3as and lc3sim in my path. However, I am getting this error when running the python file.
pycparser.plyparser.ParseError: /usr/lib/gcc/x86_64-linux-gnu/9/include/stdarg.h:40:27: before: __gnuc_va_list
Here is the complete error:
The text was updated successfully, but these errors were encountered: