Skip to content

Commit

Permalink
Update lex.l
Browse files Browse the repository at this point in the history
  • Loading branch information
dxhj committed Jul 1, 2014
1 parent 0ff017f commit 7b5a410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch03/3.5/src/lex.l
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ letter [A-Za-z]
digit [0-9]

/* Exercise 3.5.1 - c) */
id {letter}_*({letter}_*|{digit}_*)*
id {letter}({letter}|{digit}|_)*

number {digit}+(\.{digit}+)?(E[+-]?{digit }+)?
doubleq \"
Expand Down

0 comments on commit 7b5a410

Please sign in to comment.