avalanche icon indicating copy to clipboard operation
avalanche copied to clipboard

IntegrityError not including file name with line number

Open tysmith opened this issue 9 years ago • 0 comments

Traceback (most recent call last):
  File "/home/user/code/avalanche/avalanche.py", line 1318, in <module>
    main()
  File "/home/user/code/avalanche/avalanche.py", line 1314, in main
    args.output.write(Grammar(args.input, limit=args.limit, **args.function).generate())
  File "/home/user/code/avalanche/avalanche.py", line 225, in __init__
    self.sanity_check()
  File "/home/user/code/avalanche/avalanche.py", line 357, in sanity_check
    sym.sanity_check(self)
  File "/home/user/code/avalanche/avalanche.py", line 638, in sanity_check
    raise IntegrityError("Symbol %s used but not defined" % self.name, self.line_no)
__main__.IntegrityError: Symbol AT.Type used but not defined (line 284)

tysmith avatar Sep 30 '16 20:09 tysmith