[fpc-pascal] pyacc and using hexadecimals in the code

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Tue Feb 21 16:21:09 CET 2017

Hi all,

I would like to use hexadecimal values in a pyacc script. However, when
doing so pyacc thinks I am using a rule assign (or whatever the correct
term is) eg $$ := $1 as opposed to writeln(yyoutput, $76);.

Is this a shortcoming of pyacc, or do I need to escape the dollar sign
in a specific way? Any help from pascal lex/yacc experts is appreciated!

Regards, Darius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170221/93cecb22/attachment.html>

More information about the fpc-pascal mailing list