Changeset 1728 for trunk/src/kmk/expreval.c
- Timestamp:
- Sep 5, 2008, 5:27:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/expreval.c
r1726 r1728 903 903 pFile = NULL; 904 904 } 905 if ( pFile)905 if (!pFile) 906 906 #endif 907 907 { … … 1828 1828 * push it onto the stack. 1829 1829 */ 1830 const char *pszStart = psz;1830 const char *pszStart; 1831 1831 1832 1832 rc = kExprRet_Ok; 1833 1833 if (*psz == '"') 1834 1834 { 1835 pszStart ++;1835 pszStart = ++psz; 1836 1836 while (*psz && *psz != '"') 1837 1837 psz++; 1838 1838 expr_var_init_substring(&pThis->aVars[++pThis->iVar], pszStart, psz - pszStart, kExprVar_QuotedString); 1839 if (*psz) 1840 psz++; 1839 1841 } 1840 1842 else if (*psz == '\'') 1841 1843 { 1842 pszStart ++;1844 pszStart = ++psz; 1843 1845 while (*psz && *psz != '\'') 1844 1846 psz++; 1845 1847 expr_var_init_substring(&pThis->aVars[++pThis->iVar], pszStart, psz - pszStart, kExprVar_QuotedSimpleString); 1848 if (*psz) 1849 psz++; 1846 1850 } 1847 1851 else … … 1852 1856 char ch; 1853 1857 1858 pszStart = psz; 1854 1859 while ((ch = *psz) != '\0') 1855 1860 {
Note:
See TracChangeset
for help on using the changeset viewer.