Hi, all

I'm using pretty print command in x10c to print the AST node after some
pass in x10 complication.

Although no compilation error, I encountered two different formatting
results for two different x10 source files

e.g. for the same main method, the Integrate.x10 is correct,
while the KMeansSMP is quite strange, which makes the very long printing
result hard to decipher.
Is there anyone know what causes the wrong formatting?

    //Pretty Print after "XXXXXX" path "-print XXXXXXX"h

    //right formatting in compiling Integrate.x10
    public static Void main(final x10.lang.Rail args) {
        new Integrate._main_wrap(args).run();
    }

    //wrong formatting in compiling KMeansSMP.x10
    public static Void
      main(
      final x10.
        lang.
        Rail args) {
        new KMeansSMP.
          _main_wrap(.
          args).
          run();
    }


Best Regards,
Hai Chuan Wang

--------------------------------------------
Hai Chuan(Haichuan) Wang,     王海川
System Software, IBM Research - China
TEL:   86-21-60924401 or ITN:   *8-6902-4401
FAX:   86-21-60923522 or ITN:   *8-6902-3522
E-mail: wangh...@cn.ibm.com
------------------------------------------------------------------------------

_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to