radare2/libr/egg/t/inc.r
pancake 1b440bf9d2 * Add ragg2 -I to prepend include path directories
* Enhacements in r_egg library
  - Add support for including files
    - bla.r@include($PATH);
  - Proper support for goto() keyword
  - Add support to get and set environment variables (need more work)
    - PATH@env(/bin);
  - Fix /* */ comment parsing code
2011-09-20 01:53:15 +02:00

19 lines
328 B
R

#INCDIR@alias(i/);
/*
TODO: we need ragg2 to setup OS ARCH BITS environs
use environment to set/get values
OS@env(osx);
syscalls.r@include($OS);
use ragg2 -I to add new include path
*/
#INCDIR@env(/usr/include/r_egg);
INCDIR@env(t); # INCDIR=t
sys.r@include($INCDIR); # find t/sys.r
main@global() {
exit(43);
}