Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-02

pyacc and using hexadecimals in the code

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Darius Blaszyk

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

Reply by email