diff options
author | Hin-Tak Leung <hintak_leung@yahoo.co.uk> | 2010-03-04 20:41:47 +0000 |
---|---|---|
committer | Hin-Tak Leung <hintak_leung@yahoo.co.uk> | 2010-03-04 20:41:47 +0000 |
commit | 91594c6ce7617b9e9a73d9f30e22005a80c9629f (patch) | |
tree | 99ad76252db01af46ca81e89c2b4b0568bd1e2f3 /tools | |
parent | 6af363349ec6115da9d39b1f29d87f5a55d40078 (diff) |
raise error instead of continuing to creating broken PXL stream, when the input is wrong; part of fix to bug 691146
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@10854 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pxlasm.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pxlasm.py b/tools/pxlasm.py index 38bd7256d..6869eb909 100755 --- a/tools/pxlasm.py +++ b/tools/pxlasm.py @@ -608,6 +608,7 @@ class pxl_asm: return 1 else: print >> sys.stderr, "Unlisted attribute tag:", tag + raise(SyntaxError), "Unlisted attribute tag found in PXL disassembly" return 0 def Tag_attr_uint16(self): |