Waitrud Weber’s blog

things and reminders for memories

Code Analyzer 005

20180423
Analyzer does not recognize except alphabet looking for libraries, so I put a limitation the below surely in the parse_libraries.

the parse_libraries:
  // 20180423
  if ( alphabet ( dummy[0] ) == 1 ) {
   printf( "parse_libraries %s %d A:%d z:%d\n", dummy, dummy[0], 'A', 'z' );
   token = put_token ( dummy[0] );
  }

It becomes easy to debug parser.
Actually, parse has the problem after it gets package name.

 

Please download the bellow freely but care about HomePDFPrinter.java.

https://github.com/WaitrudWeber/source_zip/blob/master/20180423.zip


HomePDFPrinter.java which I analyzed is the part of Sweet Home 3D.
Copyright of Sweet Home 3D.

Creative Commons — Attribution 3.0 Unported — CC BY 3.0