Changeset 3065 for trunk/src/kash/parser.c
- Timestamp:
- Sep 30, 2017, 2:52:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/parser.c
r2631 r3065 914 914 char line[EOFMARKLEN + 1]; 915 915 struct nodelist *bqlist; 916 int quotef ;916 int quotef = 0; 917 917 int *dblquotep = NULL; 918 918 size_t maxnest = 32; … … 923 923 int oldstyle; 924 924 char const *prevsyntax; /* syntax before arithmetic */ 925 926 psh->startlinno = psh->plinno; 927 dblquote = 0; 928 varnest = 0; 929 if (syntax == DQSYNTAX) { 930 SETDBLQUOTE(); 931 } 932 quotef = 0; 933 bqlist = NULL; 934 arinest = 0; 935 parenlevel = 0; 936 925 937 #if __GNUC__ 926 /* Avoid longjmp clobbering */938 /* Try avoid longjmp clobbering */ 927 939 (void) &maxnest; 928 940 (void) &dblquotep; … … 937 949 (void) &syntax; 938 950 #endif 939 940 psh->startlinno = psh->plinno;941 dblquote = 0;942 varnest = 0;943 if (syntax == DQSYNTAX) {944 SETDBLQUOTE();945 }946 quotef = 0;947 bqlist = NULL;948 arinest = 0;949 parenlevel = 0;950 951 951 952 STARTSTACKSTR(psh, out);
Note:
See TracChangeset
for help on using the changeset viewer.