File: mmcif_test.c

package info (click to toggle)
python-biopython 1.68%2Bdfsg-3~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 46,856 kB
  • sloc: python: 160,306; xml: 93,216; ansic: 9,118; sql: 1,208; makefile: 155; sh: 63
file content (20 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdio.h>

main()
{
  int flag=1;

  mmcif_set_file(stdin);

  while(flag)
    {
      flag=mmcif_get_token();
      if(!flag)
	{
	  return;
	}
      printf("%d ", flag);
      printf("%s\n", mmcif_get_string());
    }
}