diff options
author | Adrian Thurston <thurston@complang.org> | 2013-03-25 13:01:40 +0000 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-03-25 13:01:40 +0000 |
commit | 9d1a83cdb80318f279d68d713331899cf883eb17 (patch) | |
tree | 32e3668ea82a4978c91a6632d0dee74f3bd5b37e /colm/colm.lm | |
parent | b4854c7a53f2d5938ee0c4edbe3d4c941b741164 (diff) | |
download | colm-9d1a83cdb80318f279d68d713331899cf883eb17.tar.gz |
permit i option for lex literals
Diffstat (limited to 'colm/colm.lm')
-rw-r--r-- | colm/colm.lm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/colm/colm.lm b/colm/colm.lm index ebbe7e7a..8f36e237 100644 --- a/colm/colm.lm +++ b/colm/colm.lm @@ -140,8 +140,8 @@ lex / '0x' . ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ / token lex_lit / - '\'' . ( ^( '\'' | '\\' ) | '\\' . any )* . '\'' | - '\"' . ( ^( '\"' | '\\' ) | '\\' . any )* . '\"' + '\'' . ( ^( '\'' | '\\' ) | '\\' . any )* . ( '\'' | '\'i' ) | + '\"' . ( ^( '\"' | '\\' ) | '\\' . any )* . ( '\"' | '\"i' ) / token LEX_DOT /'.'/ |