Commit f525c30
committed
Support global character initialization and initialization with logical and equality operators
- Refactor read_numeric_sconstant function:
- Add support for character initialization.
- Add support for brackets containing only primary values.
- Rename function to read_primary_constant for clarity.
- Refactor eval_expression_imm function:
- Add support for logical and equality operators: OP_log_and, OP_log_or, OP_eq, OP_neq.
- Add global character initialization test and global initialization
with logical and equality operation test.1 parent 882c3ad commit f525c30
2 files changed
+48
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1828 | 1828 | | |
1829 | 1829 | | |
1830 | 1830 | | |
1831 | | - | |
| 1831 | + | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
1837 | 1837 | | |
1838 | | - | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
1839 | 1842 | | |
1840 | | - | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
1841 | 1848 | | |
1842 | | - | |
1843 | 1849 | | |
1844 | 1850 | | |
1845 | 1851 | | |
| |||
1879 | 1885 | | |
1880 | 1886 | | |
1881 | 1887 | | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
1882 | 1900 | | |
1883 | 1901 | | |
1884 | 1902 | | |
| |||
1929 | 1947 | | |
1930 | 1948 | | |
1931 | 1949 | | |
1932 | | - | |
| 1950 | + | |
1933 | 1951 | | |
1934 | 1952 | | |
1935 | 1953 | | |
| |||
1955 | 1973 | | |
1956 | 1974 | | |
1957 | 1975 | | |
1958 | | - | |
| 1976 | + | |
1959 | 1977 | | |
1960 | 1978 | | |
1961 | 1979 | | |
| |||
2013 | 2031 | | |
2014 | 2032 | | |
2015 | 2033 | | |
2016 | | - | |
| 2034 | + | |
2017 | 2035 | | |
2018 | 2036 | | |
2019 | 2037 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1249 | 1249 | | |
1250 | 1250 | | |
1251 | 1251 | | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1252 | 1275 | | |
0 commit comments