make colorer handle #! abbreviation or #lang
svn: r8839
This commit is contained in:
parent
b3a47edde1
commit
bb6c2fba5a
|
@ -291,11 +291,11 @@
|
|||
[(:or sharing reader-command "." "," ",@" "#," "#,@")
|
||||
(ret lexeme 'other #f start-pos end-pos)]
|
||||
|
||||
[(:: "#lang "
|
||||
[(:: (:or "#lang " "#!")
|
||||
(:or langchar
|
||||
(:: langchar (:* (:or langchar "/")) langchar)))
|
||||
(ret lexeme 'other #f start-pos end-pos)]
|
||||
[(:: "#lang " (:* (:& any-char (complement whitespace))))
|
||||
[(:: (:or "#lang " "#!") (:* (:& any-char (complement whitespace))))
|
||||
(ret lexeme 'error #f start-pos end-pos)]
|
||||
|
||||
[identifier
|
||||
|
|
Loading…
Reference in New Issue
Block a user