소스 검색

Fixed integer match.

Taddeüs Kroes 14 년 전
부모
커밋
6d07889b04
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/lex.l

+ 1 - 1
src/lex.l

@@ -4,7 +4,7 @@
 %}
 reg     \$[a-zA-Z0-9]+
 word    [a-zA-Z0-9_\.]+
-int     [1-9][0-9]*
+int     [0-9]+
 %%
 
 [\n]                { return NL; }                              /* Newline */