Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
e48a03a6
Commit
e48a03a6
authored
May 06, 2012
by
Christoph Mallon
Browse files
Correct the documentation of new_tarval_from_str().
parent
2f46faa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/libfirm/tv.h
View file @
e48a03a6
...
...
@@ -68,18 +68,16 @@
* This function accepts the following strings:
*
* if mode is int_number:
* -
0(x|X)
[0-9a-fA-F]+ (hexadecimal representation)
* - 0[0-7]*
(octal representation)
* -
(+|-)
?[1-9][0-9]* (decimal representation)
* -
[+-]?0[xX]
[0-9a-fA-F]+ (hexadecimal representation)
* -
[+-]?
0[0-7]* (octal representation)
* -
[+-]
?[1-9][0-9]*
(decimal representation)
*
* if mode is float_number:
* -
(+|-)
?(decimal int) (. (decimal int))? (
(e|E)(+|-)
?(decimal int))?
* -
[+-]
?(decimal int) (. (decimal int))? (
[eE][+-]
?(decimal int))?
*
* if mode is boolean: true, True, TRUE ... False... 0, 1,
*
* if mode is reference: hexadecimal of decimal number as int
*
* if mode is character: hex or dec
* if mode is reference: "null" and the same as for int_number
*
* Leading and/or trailing spaces are ignored
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment