Advertisement
Guest User

Untitled

a guest
May 28th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.22 KB | None | 0 0
  1. if(get_token(c, str) == HEX)
  2.         {
  3.             if(get_token(c, str) == COLON)
  4.             {
  5.                 if(get_token(c, str) == WHITESPACE)
  6.                 {
  7.                     if(get_token(c, str) == HEX)
  8.                     {
  9.                         if(get_token(c, str) == WHITESPACE)
  10.                         {
  11.                             instruction_symbol(c, str);
  12.                         }
  13.                         else
  14.                         {
  15.                             print_fatal("Syntax error: expected whitespace but got %s\n", str.c_str());
  16.                         }
  17.                     }
  18.                     else
  19.                     {
  20.                         print_fatal("Syntax error: expected hex but got %s\n", str.c_str());
  21.                     }
  22.                 }
  23.                 else
  24.                 {
  25.                     print_fatal("Syntax error: expected whitespace but got %s\n", str.c_str());
  26.                 }
  27.             }
  28.             else
  29.             {
  30.                 print_fatal("Syntax error: expected ':' but got %s\n", str.c_str());
  31.             }
  32.         }
  33.         else
  34.         {
  35.             print_fatal("Syntax error: expected hex but got %s\n", str.c_str());
  36.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement