Skip to content

Commit

Permalink
Merge branch 'universal-character-names' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Feb 18, 2022
2 parents beab54d + e5cee4b commit c47bbbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontc/cparser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ const_raw_string:
match typ with
| CHAR -> queue_to_string queue, location
| CHAR_UTF8 -> queue_to_string queue, location
| _ -> parse_error "wstring in illegal place (conmst_raw_string)"; raise Parsing.Parse_error
| _ -> parse_error "wstring in illegal place (const_raw_string)"; raise Parsing.Parse_error
}

one_string_constant:
Expand Down Expand Up @@ -1665,8 +1665,8 @@ asmoperandsne:
;

asmoperand:
asmopname one_string_constant LPAREN expression RPAREN { ($1, $2, fst $4) }
| asmopname one_string_constant LPAREN error RPAREN { ($1, $2, NOTHING ) }
asmopname const_raw_string LPAREN expression RPAREN { ($1, fst $2, fst $4) }
| asmopname const_raw_string LPAREN error RPAREN { ($1, fst $2, NOTHING ) }
;

asminputs:
Expand Down

0 comments on commit c47bbbd

Please sign in to comment.