summaryrefslogtreecommitdiff
path: root/cfrontend/CPragmas.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cfrontend/CPragmas.ml')
-rw-r--r--cfrontend/CPragmas.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/cfrontend/CPragmas.ml b/cfrontend/CPragmas.ml
index 63bd3f9..7bf80bb 100644
--- a/cfrontend/CPragmas.ml
+++ b/cfrontend/CPragmas.ml
@@ -61,8 +61,8 @@ let re_start_pragma_section = Str.regexp "section\\b"
let re_pragma_section = Str.regexp(
"section[ \t]+"
^ "\\([A-Za-z_][A-Za-z_0-9]*\\)[ \t]+" (* class_name *)
-^ "\\(\"[^\"]*\"\\)?[ \t]*" (* istring *)
-^ "\\(\"[^\"]*\"\\)?[ \t]*" (* ustring *)
+^ "\"\\([^\"]*\\)\"?[ \t]*" (* istring *)
+^ "\"\\([^\"]*\\)\"?[ \t]*" (* ustring *)
^ "\\([a-zA-Z-]+\\)?[ \t]*" (* addressing mode *)
^ "\\([RWXON]*\\)" (* access mode *)
)