title: What does lexing error mean in ninja?
body: <p>I am using ninja to build a program for the first time. I run the command 'ninja -f hello.c' from the cmd but get the error "ninja: error: hello.c:1: lexing error". Why is this occuring? Here is my build.ninja file:</p>
  
  <pre><code># build.ninja
  cc     = clang
  cflags = -Weverything
  
  rule compile
  command = $cc $cflags -c $in -o $out
  
  rule link
  command = $cc $in -o $out
  
  build hello.o: compile hello.c
  build hello: link hello.o
  
  default hello
  </code></pre>
  
  <p>Here is Hello.c:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main()
  {
     printf("Hello World");
  
  }
  </code></pre>