mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-28 16:53:36 +00:00
1b440bf9d2
* 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
19 lines
328 B
R
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);
|
|
}
|