pyacc and using hexadecimals in the code

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

pyacc and using hexadecimals in the code

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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Loading...