diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-10-22 19:16:27 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-10-22 19:18:30 +0100 |
commit | 48fb7c61b319ed451280c9c307009dd7195092d8 (patch) | |
tree | 1009d362c57306f864b1b82b02fb020538ea67c5 /lexer.l | |
parent | f2601ab4f07e8237ab56b00fdf0def899def46c2 (diff) |
Support a -f option to load from a file, and # comments
This means '#!/usr/local/bin/jq -f' is now a sensible way
to start a file.
Closes #13
Diffstat (limited to 'lexer.l')
-rw-r--r-- | lexer.l | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,8 @@ %% +"#"[^\r\n]* { /* comments */ } + "==" { return EQ; } "as" { return AS; } "def" { return DEF; } |