thomas-fritsch / psdt

PostScript Development Tools for Eclipse
http://thomas-fritsch.github.io/psdt/
GNU General Public License v3.0
7 stars 0 forks source link

no viable alternative at character '0' #13

Closed KlaasBonnema closed 7 years ago

KlaasBonnema commented 7 years ago

Existing postscript files may contain sequences such as: def/CustomEnc[/00/01/02/03/04/05/06/07/08/09/0a/0b/0c/0d/0e/0f/10/11/12/13/14/15/16/17/18/19/zcaron/yacute/twosuperior/threesuperior.... ] This array definition is marked in error for values /00 through /19 with "no viable alternative at character ". The errors will prevent starting a debug session while this is perfectly valid postscript code that is accepted by all postscript interpreters.

thomas-fritsch commented 7 years ago

I could reproduce your error. It seems my PostScript grammar is too strict for terminal LITERAL_ID, and may be also for terminal ID.