Ifndef construct

In reply to aashishs2603:

  1. Yes, the compiler reads text line-by-line, or more succinctly character-by-character.
  2. This style of compile guards is mostly unnecessary in SystemVerilog. See system verilog - Include guards in SystemVerilog - Stack Overflow