Skip to content
Snippets Groups Projects
Commit 3a0d0138 authored by Loïc Correnson's avatar Loïc Correnson Committed by Virgile Prevosto
Browse files

[kernel/logic] introducing long ID in lexer

parent 0c99b337
No related branches found
No related tags found
No related merge requests found
......@@ -381,6 +381,7 @@ rule token = parse
check_ext_plugin (fst cabsloc) plugin tok
}
| '\\' rIdentifier { bs_identifier lexbuf }
| rIdentifier ( "::" rIdentifier )+ { lex_error lexbuf "unexpected long identifier" }
| rIdentifier {
let loc = Lexing.(lexeme_start_p lexbuf, lexeme_end_p lexbuf) in
let cabsloc = Cil_datatype.Location.of_lexing_loc loc in
......
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