diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-08-27 10:11:55 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2012-08-27 10:12:02 +0100 |
commit | 6c8b55793a6eeb94a4c6cd63ce452cf6d4a68215 (patch) | |
tree | df13f7d6efd9f0e8de0c36fe446abc11e4982d62 /c/lexer.l | |
parent | a847d2250f9ac16847414ddc2fed796a9b989f27 (diff) |
first pass at assignment
Diffstat (limited to 'c/lexer.l')
-rw-r--r-- | c/lexer.l | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ "==" { return EQ; } "as" { return AS; } "def" { return DEF; } +"|=" { return SETPIPE; } "."|"="|";"|"["|"]"|","|":"|"("|")"|"{"|"}"|"|"|"+"|"\$" { return yytext[0];} [[:digit:]]+ { yylval->num = atoi(yytext); return NUMBER;} |