Skip to content
Snippets Groups Projects
Commit 0cd4535d authored by sof's avatar sof
Browse files

[project @ 1997-12-19 10:49:45 by sof]

Cleaned out old defnition of lex_id
parent 34cbc4b3
No related merge requests found
......@@ -609,33 +609,6 @@ is_mod_char (C# c#) =
--isAlphanum c || c == '_' || c== '\'' --`elem` "_'"
{-
lex_id cs =
case _scc_ "lex_id.span" my_span' (is_mod_char) cs of
(xs, len, cs') ->
case cs' of
[] -> case xs of
[] -> lex_id2 Nothing cs
_ -> lex_id3 Nothing len xs cs
'.':cs'' ->
case xs of
[] -> lex_id2 Nothing cs
_ ->
let
pk_str = _PK_ (xs::String)
len = lengthPS pk_str
in
if len==len+1 then
error "Well, I never!"
else
lex_id2 (Just pk_str) cs''
_ -> case xs of
[] -> lex_id2 Nothing cs
_ -> lex_id3 Nothing len xs cs'
-}
lex_id cont buf =
-- _trace ("lex_id: "++[C# (currentChar# buf)]) $
case expandWhile (is_mod_char) buf of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment