jitcraft/Token.h
changeset 70 1aec996cde2d
parent 68 b40b0e18a918
child 74 80e29e23eb4e
     1.1 --- a/jitcraft/Token.h	Wed Jul 11 01:12:54 2012 -0700
     1.2 +++ b/jitcraft/Token.h	Thu Jul 12 00:38:00 2012 -0700
     1.3 @@ -30,6 +30,12 @@
     1.4          col(-1)
     1.5      {
     1.6      }
     1.7 +
     1.8 +    SourcePosition(unsigned line, unsigned col)
     1.9 +      : line(line),
    1.10 +        col(col)
    1.11 +    {
    1.12 +    }
    1.13  };
    1.14  
    1.15  // List of tokens the scanner can recognize.