aboutsummaryrefslogtreecommitdiffstats
path: root/cil
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2009-11-03 08:43:54 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2009-11-03 08:43:54 +0000
commit0486654fac91947fec93d18a0738dd7aa10bcf96 (patch)
tree4f6b954a2dcc74df25c05bc4c15f0f317aa2d780 /cil
parente47dcb416c68da4e559d70e633276f7227659740 (diff)
downloadcompcert-0486654fac91947fec93d18a0738dd7aa10bcf96.tar.gz
compcert-0486654fac91947fec93d18a0738dd7aa10bcf96.zip
PowerPC/EABI port: preliminary support for #pragma section and
#pragma use_section. Some clean-ups in Cil2Csyntax. Separate mach-dep parts of extraction/extraction.v into <arch>/extractionMachdep.v git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1167 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'cil')
-rw-r--r--cil/src/frontc/clexer.mll4
1 files changed, 3 insertions, 1 deletions
diff --git a/cil/src/frontc/clexer.mll b/cil/src/frontc/clexer.mll
index 08f78819..41c86922 100644
--- a/cil/src/frontc/clexer.mll
+++ b/cil/src/frontc/clexer.mll
@@ -418,13 +418,15 @@ let hex_escape = '\\' ['x' 'X'] hexdigit+
let oct_escape = '\\' octdigit octdigit? octdigit?
(* Pragmas that are not parsed by CIL. We lex them as PRAGMA_LINE tokens *)
+
let no_parse_pragma =
"warning" | "GCC"
(* Solaris-style pragmas: *)
| "ident" | "section" | "option" | "asm" | "use_section" | "weak"
| "redefine_extname"
| "TCS_align"
-
+ (* Added by XL *)
+ | "global_register"
rule initial =
parse "/*" { let il = comment lexbuf in