projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f46faa
)
Correct the documentation of new_tarval_from_str().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 May 2012 18:04:33 +0000
(20:04 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 May 2012 18:14:01 +0000
(20:14 +0200)
include/libfirm/tv.h
patch
|
blob
|
history
diff --git
a/include/libfirm/tv.h
b/include/libfirm/tv.h
index
b616153
..
a013d84
100644
(file)
--- a/
include/libfirm/tv.h
+++ b/
include/libfirm/tv.h
@@
-68,18
+68,16
@@
* This function accepts the following strings:
*
* if mode is int_number:
* 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:
*
* 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 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
*
*
* Leading and/or trailing spaces are ignored
*