Package org.jnode.jnasm.preprocessor

Examples of org.jnode.jnasm.preprocessor.Preprocessor.defineSymbol()


        InputStream in = System.in;
        if (argv.length > 0) {
            in = new FileInputStream(argv[0]);
        }
        Preprocessor preprocessor = Preprocessor.newInstance(in);
        preprocessor.defineSymbol("BITS32", "");
        preprocessor.setFileResolver(new FileResolver(null));
        StringWriter sw = new StringWriter();
        preprocessor.print(sw);
        sw.flush();
        sw.close();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.